From 5c899e6fbaedfa6c1894824265f245d92e5dcf5d Mon Sep 17 00:00:00 2001 From: Thomas Date: Sat, 3 Dec 2022 19:42:47 +0100 Subject: [PATCH 1/2] 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; From 88f5ed27bd62deb21a67904df46917b7b5dd388c Mon Sep 17 00:00:00 2001 From: Thomas Date: Sat, 3 Dec 2022 19:44:10 +0100 Subject: [PATCH 2/2] Release 3.9.3 --- app/build.gradle | 4 ++-- app/src/main/assets/release_notes/notes.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 8e6c41d1..6d80864f 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -13,8 +13,8 @@ android { defaultConfig { minSdk 21 targetSdk 32 - versionCode 437 - versionName "3.9.2" + versionCode 438 + versionName "3.9.3" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } flavorDimensions "default" diff --git a/app/src/main/assets/release_notes/notes.json b/app/src/main/assets/release_notes/notes.json index 4b894b0a..7f6aff91 100644 --- a/app/src/main/assets/release_notes/notes.json +++ b/app/src/main/assets/release_notes/notes.json @@ -1,7 +1,7 @@ [ { - "version": "3.9.2", - "code": "437", + "version": "3.9.3", + "code": "438", "note": "Added:\n- New design with 5 themes\n\nChanged:\n- Remove built-in browser support\n- Fit preview image displays images vertically\n- Add counters next to images\n\nFixed:\n- Jumps in timelines\n- Replies to wrong messages with followed instances\n- Bug with delete&redraft with a media\n- List cannot be hidden\n- Some crashes" }, {