Un-comment lines which were commented for debug

This commit is contained in:
Ammar Githam 2020-08-25 05:02:18 +09:00
parent 0608882127
commit 93f7a58e54
2 changed files with 3 additions and 3 deletions

View File

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

View File

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