From ac4a2dccfdb6f51dc4391aeff81b752392b0f538 Mon Sep 17 00:00:00 2001 From: Thomas Date: Tue, 15 Nov 2022 18:21:18 +0100 Subject: [PATCH] Update release notes --- .../fedilab/android/activities/FollowedTagActivity.java | 9 ++++++++- .../fastlane/metadata/android/en/changelogs/427.txt | 1 + 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/app/fedilab/android/activities/FollowedTagActivity.java b/app/src/main/java/app/fedilab/android/activities/FollowedTagActivity.java index 07633002..84e9e25f 100644 --- a/app/src/main/java/app/fedilab/android/activities/FollowedTagActivity.java +++ b/app/src/main/java/app/fedilab/android/activities/FollowedTagActivity.java @@ -134,7 +134,14 @@ public class FollowedTagActivity extends BaseActivity implements FollowedTagAdap if (tagList == null) { tagList = new ArrayList<>(); } - if (newTag != null && followedTagAdapter != null) { + if (followedTagAdapter == null) { + followedTagAdapter = new FollowedTagAdapter(tagList); + followedTagAdapter.actionOnTag = this; + binding.notContent.setVisibility(View.GONE); + binding.recyclerView.setAdapter(followedTagAdapter); + binding.recyclerView.setLayoutManager(new LinearLayoutManager(FollowedTagActivity.this)); + } + if (newTag != null) { tagList.add(0, newTag); followedTagAdapter.notifyItemInserted(0); } else { diff --git a/src/fdroid/fastlane/metadata/android/en/changelogs/427.txt b/src/fdroid/fastlane/metadata/android/en/changelogs/427.txt index e5eb78fb..cf569411 100644 --- a/src/fdroid/fastlane/metadata/android/en/changelogs/427.txt +++ b/src/fdroid/fastlane/metadata/android/en/changelogs/427.txt @@ -12,4 +12,5 @@ Fixed: - Crash with trends - Issue with themes - Some content lost when sending messages (mentions) +- Fix freezes in timelines - Some other fixes \ No newline at end of file