Browse Source

Un-comment lines which were commented for debug

renovate/org.robolectric-robolectric-4.x
Ammar Githam 4 years ago
parent
commit
93f7a58e54
  1. 4
      app/src/main/java/awais/instagrabber/MainHelper.java
  2. 2
      app/src/main/java/awais/instagrabber/activities/ProfileViewer.java

4
app/src/main/java/awais/instagrabber/MainHelper.java

@ -965,8 +965,8 @@ public final class MainHelper implements SwipeRefreshLayout.OnRefreshListener {
(!isLoggedIn && settingsHelper.getBoolean(Constants.STORIESIG)), false,
result -> {
mainActivity.storyModels = result;
// if (result != null && result.length > 0)
mainActivity.mainBinding.profileView.mainProfileImage.setStoriesBorder();
if (result != null && result.length > 0)
mainActivity.mainBinding.profileView.mainProfileImage.setStoriesBorder();
}).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
new HighlightsFetcher(profileId, (!isLoggedIn && settingsHelper.getBoolean(Constants.STORIESIG)), result -> {

2
app/src/main/java/awais/instagrabber/activities/ProfileViewer.java

@ -432,7 +432,7 @@ public final class ProfileViewer extends BaseLanguageActivity implements SwipeRe
(!isLoggedIn && Utils.settingsHelper.getBoolean(Constants.STORIESIG)), false,
stories -> {
storyModels = stories;
// if (stories != null && stories.length > 0)
if (stories != null && stories.length > 0)
profileBinding.profileView.mainProfileImage.setStoriesBorder();
}).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);

Loading…
Cancel
Save