diff --git a/Mlem/Models/Content/Community/CommunityModel+MenuFunctions.swift b/Mlem/Models/Content/Community/CommunityModel+MenuFunctions.swift index 91c34e799..aee6f65d7 100644 --- a/Mlem/Models/Content/Community/CommunityModel+MenuFunctions.swift +++ b/Mlem/Models/Content/Community/CommunityModel+MenuFunctions.swift @@ -96,8 +96,8 @@ extension CommunityModel { } if let function = try? subscribeMenuFunction(callback) { functions.append(.standard(function)) + functions.append(.standard(favoriteMenuFunction(callback))) } - functions.append(.standard(favoriteMenuFunction(callback))) functions.append( .standardMenuFunction( text: "Copy Name", diff --git a/Mlem/Models/Content/Community/CommunityModel+SwipeActions.swift b/Mlem/Models/Content/Community/CommunityModel+SwipeActions.swift index e0785ea83..3a4e22eb7 100644 --- a/Mlem/Models/Content/Community/CommunityModel+SwipeActions.swift +++ b/Mlem/Models/Content/Community/CommunityModel+SwipeActions.swift @@ -78,8 +78,8 @@ extension CommunityModel { if let subscribeAction { trailingActions.append(subscribeAction) + trailingActions.append(favoriteAction) } - trailingActions.append(favoriteAction) return SwipeConfiguration(leadingActions: [], trailingActions: trailingActions) } diff --git a/Mlem/Views/Tabs/Feeds/PostFeedView.swift b/Mlem/Views/Tabs/Feeds/PostFeedView.swift index 0665a48e0..c0ff94f84 100644 --- a/Mlem/Views/Tabs/Feeds/PostFeedView.swift +++ b/Mlem/Views/Tabs/Feeds/PostFeedView.swift @@ -112,6 +112,7 @@ struct PostFeedView: View { } .onChange(of: showReadPosts) { _ in Task(priority: .userInitiated) { + postTracker.filter = self.filter await postTracker.refresh(clearBeforeFetch: true) } }