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. 2
      app/src/main/java/awais/instagrabber/MainHelper.java
  2. 2
      app/src/main/java/awais/instagrabber/activities/ProfileViewer.java

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

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

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, (!isLoggedIn && Utils.settingsHelper.getBoolean(Constants.STORIESIG)), false,
stories -> { stories -> {
storyModels = stories; storyModels = stories;
// if (stories != null && stories.length > 0)
if (stories != null && stories.length > 0)
profileBinding.profileView.mainProfileImage.setStoriesBorder(); profileBinding.profileView.mainProfileImage.setStoriesBorder();
}).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR); }).executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);

Loading…
Cancel
Save