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) }