diff --git a/Session/Conversations/Settings/ThreadSettingsViewModel.swift b/Session/Conversations/Settings/ThreadSettingsViewModel.swift index 297a6252d..a9a136c9d 100644 --- a/Session/Conversations/Settings/ThreadSettingsViewModel.swift +++ b/Session/Conversations/Settings/ThreadSettingsViewModel.swift @@ -522,8 +522,8 @@ class ThreadSettingsViewModel: SessionTableViewModel, NavigationItemSource, Navi .localizedFormatted(baseFont: .boldSystemFont(ofSize: Values.smallFontSize)) } - return "communityLeaveDescription" - .put(key: "community_name", value: threadViewModel.displayName) + return "groupLeaveDescription" + .put(key: "group_name", value: threadViewModel.displayName) .localizedFormatted(baseFont: .boldSystemFont(ofSize: Values.smallFontSize)) }()), confirmTitle: "leave".localized(), diff --git a/Session/Utilities/UIContextualAction+Utilities.swift b/Session/Utilities/UIContextualAction+Utilities.swift index c7500c574..1016c3f77 100644 --- a/Session/Utilities/UIContextualAction+Utilities.swift +++ b/Session/Utilities/UIContextualAction+Utilities.swift @@ -389,8 +389,8 @@ public extension UIContextualAction { .localizedFormatted(baseFont: .boldSystemFont(ofSize: Values.smallFontSize)) } - return "communityLeaveDescription" - .put(key: "community_name", value: threadViewModel.displayName) + return "groupLeaveDescription" + .put(key: "group_name", value: threadViewModel.displayName) .localizedFormatted(baseFont: .boldSystemFont(ofSize: Values.smallFontSize)) }() @@ -499,8 +499,8 @@ public extension UIContextualAction { .localizedFormatted(baseFont: .boldSystemFont(ofSize: Values.smallFontSize)) case .community: - return "communityLeaveDescription" - .put(key: "community_name", value: threadViewModel.displayName) + return "groupLeaveDescription" + .put(key: "group_name", value: threadViewModel.displayName) .localizedFormatted(baseFont: .boldSystemFont(ofSize: Values.smallFontSize)) } }()