diff --git a/ConversationsClassic/View/Main/Settings/SettingsScreen.swift b/ConversationsClassic/View/Main/Settings/SettingsScreen.swift index 263f280..3e759ed 100644 --- a/ConversationsClassic/View/Main/Settings/SettingsScreen.swift +++ b/ConversationsClassic/View/Main/Settings/SettingsScreen.swift @@ -69,18 +69,20 @@ struct SettingsScreen: View { } } - SharedListRow( - iconType: .image(Image(systemName: "plus"), .Material.Elements.active), - text: L10n.Settings.Section.Accounts.add, - controlType: .none - ) - .onTapGesture { - router.showAlert( - .confirmationDialog, - title: L10n.Settings.Section.Accounts.add, - subtitle: L10n.Settings.Section.Accounts.addHint - ) { - addAccountSelector + if parent == .main { + SharedListRow( + iconType: .image(Image(systemName: "plus"), .Material.Elements.active), + text: L10n.Settings.Section.Accounts.add, + controlType: .none + ) + .onTapGesture { + router.showAlert( + .confirmationDialog, + title: L10n.Settings.Section.Accounts.add, + subtitle: L10n.Settings.Section.Accounts.addHint + ) { + addAccountSelector + } } }