PR cleanup #1164

Merged
akinwale merged 32 commits from pr-1118 into master 2021-03-08 20:15:23 +01:00
3 changed files with 3 additions and 3 deletions
Showing only changes of commit 2e026a6920 - Show all commits

View file

@ -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();

View file

@ -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() {

View file

@ -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);
} }
}); });