From 3e16d0c3100925078413282737a60212a731addb Mon Sep 17 00:00:00 2001 From: Thomas Date: Wed, 28 Dec 2022 15:36:39 +0100 Subject: [PATCH] Fix issue #694 - Home muted not working with no filters --- .../main/java/app/fedilab/android/helper/TimelineHelper.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/app/fedilab/android/helper/TimelineHelper.java b/app/src/main/java/app/fedilab/android/helper/TimelineHelper.java index 6c94cf29..42bfc8f4 100644 --- a/app/src/main/java/app/fedilab/android/helper/TimelineHelper.java +++ b/app/src/main/java/app/fedilab/android/helper/TimelineHelper.java @@ -156,7 +156,8 @@ public class TimelineHelper { } } } - + } + if (statuses != null && statuses.size() > 0) { SharedPreferences sharedpreferences = PreferenceManager.getDefaultSharedPreferences(context); boolean groupReblogs = sharedpreferences.getBoolean(context.getString(R.string.SET_GROUP_REBLOGS), true); if (filterTimeLineType == Timeline.TimeLineEnum.HOME) { @@ -172,6 +173,7 @@ public class TimelineHelper { filterCustom.title = "Fedilab"; filterCustom.context = contextCustom; statuses.get(i).filteredByApp = filterCustom; + break; } } }