Fix typo
This commit is contained in:
parent
9d3c2583c3
commit
cceace8e65
|
@ -560,7 +560,7 @@ public class StatusListAdapter extends RecyclerView.Adapter implements OnPostAct
|
||||||
if( status.getPoll() != null && status.getPoll().getOptionsList() != null ){
|
if( status.getPoll() != null && status.getPoll().getOptionsList() != null ){
|
||||||
Poll poll = status.getPoll();
|
Poll poll = status.getPoll();
|
||||||
int choiceCount = status.getPoll().getOptionsList().size();
|
int choiceCount = status.getPoll().getOptionsList().size();
|
||||||
if( poll.isVoted()){
|
if( poll.isVoted() || poll.isExpired()){
|
||||||
holder.rated.setVisibility(View.VISIBLE);
|
holder.rated.setVisibility(View.VISIBLE);
|
||||||
List<BarItem> items = new ArrayList<>();
|
List<BarItem> items = new ArrayList<>();
|
||||||
int greaterValue = 0;
|
int greaterValue = 0;
|
||||||
|
|
|
@ -57,6 +57,7 @@ public class MastalabWebViewClient extends WebViewClient {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public WebResourceResponse shouldInterceptRequest (final WebView view, String url) {
|
public WebResourceResponse shouldInterceptRequest (final WebView view, String url) {
|
||||||
|
if( WebviewActivity.trackingDomains != null){
|
||||||
URI uri;
|
URI uri;
|
||||||
try {
|
try {
|
||||||
uri = new URI(url);
|
uri = new URI(url);
|
||||||
|
@ -93,7 +94,9 @@ public class MastalabWebViewClient extends WebViewClient {
|
||||||
}
|
}
|
||||||
} catch (URISyntaxException ignored) {
|
} catch (URISyntaxException ignored) {
|
||||||
ignored.printStackTrace();
|
ignored.printStackTrace();
|
||||||
} }
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
return super.shouldInterceptRequest(view, url);
|
return super.shouldInterceptRequest(view, url);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue