From 5c899e6fbaedfa6c1894824265f245d92e5dcf5d Mon Sep 17 00:00:00 2001 From: Thomas Date: Sat, 3 Dec 2022 19:42:47 +0100 Subject: [PATCH] Release 3.9.3 --- .../java/app/fedilab/android/helper/PinnedTimelineHelper.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/java/app/fedilab/android/helper/PinnedTimelineHelper.java b/app/src/main/java/app/fedilab/android/helper/PinnedTimelineHelper.java index 504fa0cc..52bb8e81 100644 --- a/app/src/main/java/app/fedilab/android/helper/PinnedTimelineHelper.java +++ b/app/src/main/java/app/fedilab/android/helper/PinnedTimelineHelper.java @@ -276,6 +276,9 @@ public class PinnedTimelineHelper { boolean present = false; try { Pinned pinnedAll = new Pinned(activity).getAllPinned(currentAccount); + if (pinnedAll == null) { + pinnedAll = pinned; + } for (PinnedTimeline pinnedTimeline : pinnedAll.pinnedTimelines) { if (pinnedTimeline.mastodonList != null && mastodonList.id.compareTo(pinnedTimeline.mastodonList.id) == 0) { present = true;