From 93f7a58e54d69474445adba670104b74659b6e99 Mon Sep 17 00:00:00 2001 From: Ammar Githam Date: Tue, 25 Aug 2020 05:02:18 +0900 Subject: [PATCH] Un-comment lines which were commented for debug --- app/src/main/java/awais/instagrabber/MainHelper.java | 4 ++-- .../java/awais/instagrabber/activities/ProfileViewer.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/awais/instagrabber/MainHelper.java b/app/src/main/java/awais/instagrabber/MainHelper.java index 16f7ec1d..59d357fc 100755 --- a/app/src/main/java/awais/instagrabber/MainHelper.java +++ b/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 -> { diff --git a/app/src/main/java/awais/instagrabber/activities/ProfileViewer.java b/app/src/main/java/awais/instagrabber/activities/ProfileViewer.java index 2705746f..e44181a5 100755 --- a/app/src/main/java/awais/instagrabber/activities/ProfileViewer.java +++ b/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);