PR cleanup #1164
3 changed files with 3 additions and 3 deletions
|
@ -43,7 +43,7 @@ public class TwitterRequestTokenTask extends AsyncTask<Void, Void, String> {
|
||||||
OAuthParameters oauthParams = new OAuthParameters();
|
OAuthParameters oauthParams = new OAuthParameters();
|
||||||
oauthParams.callback = "https://lbry.tv";
|
oauthParams.callback = "https://lbry.tv";
|
||||||
oauthParams.consumerKey = new String(
|
oauthParams.consumerKey = new String(
|
||||||
Base64.decode(consumerKey, Base64.NO_WRAP), StandardCharsets.UTF_8.name());;
|
Base64.decode(consumerKey, Base64.NO_WRAP), StandardCharsets.UTF_8.name());
|
||||||
oauthParams.signatureMethod = "HMAC-SHA-1";
|
oauthParams.signatureMethod = "HMAC-SHA-1";
|
||||||
oauthParams.signer = signer;
|
oauthParams.signer = signer;
|
||||||
oauthParams.computeNonce();
|
oauthParams.computeNonce();
|
||||||
|
|
|
@ -2347,7 +2347,7 @@ public class FileViewFragment extends BaseFragment implements
|
||||||
|
|
||||||
private void resolveCommentPosters() {
|
private void resolveCommentPosters() {
|
||||||
if (commentListAdapter != null) {
|
if (commentListAdapter != null) {
|
||||||
long st = System.currentTimeMillis();;
|
long st = System.currentTimeMillis();
|
||||||
List<String> urlsToResolve = new ArrayList<>(commentListAdapter.getClaimUrlsToResolve());
|
List<String> urlsToResolve = new ArrayList<>(commentListAdapter.getClaimUrlsToResolve());
|
||||||
if (urlsToResolve.size() > 0) {
|
if (urlsToResolve.size() > 0) {
|
||||||
ResolveTask task = new ResolveTask(urlsToResolve, Lbry.LBRY_TV_CONNECTION_STRING, null, new ClaimListResultHandler() {
|
ResolveTask task = new ResolveTask(urlsToResolve, Lbry.LBRY_TV_CONNECTION_STRING, null, new ClaimListResultHandler() {
|
||||||
|
|
|
@ -147,7 +147,7 @@ public class EmailVerificationFragment extends Fragment {
|
||||||
if (view != null && error != null) {
|
if (view != null && error != null) {
|
||||||
Snackbar.make(getView(), error.getMessage(), Snackbar.LENGTH_LONG).
|
Snackbar.make(getView(), error.getMessage(), Snackbar.LENGTH_LONG).
|
||||||
setBackgroundTint(Color.RED).setTextColor(Color.WHITE).show();
|
setBackgroundTint(Color.RED).setTextColor(Color.WHITE).show();
|
||||||
};
|
}
|
||||||
Helper.setViewVisibility(buttonContinue, View.VISIBLE);
|
Helper.setViewVisibility(buttonContinue, View.VISIBLE);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue