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