diff --git a/app/build.gradle b/app/build.gradle index 9aad0331..44cfccb2 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -9,7 +9,7 @@ android { defaultConfig { minSdk 21 targetSdk 31 - versionCode 391 + versionCode 392 versionName "3.0.1" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } 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 dc8f251d..ba4589e1 100644 --- a/app/src/main/java/app/fedilab/android/helper/TimelineHelper.java +++ b/app/src/main/java/app/fedilab/android/helper/TimelineHelper.java @@ -126,7 +126,9 @@ public class TimelineHelper { } } } - statuses.removeAll(statusesToRemove); + if (statuses != null) { + statuses.removeAll(statusesToRemove); + } return statuses; }