diff --git a/ConversationsClassic/View/Main/Settings/SettingsScreen.swift b/ConversationsClassic/View/Main/Settings/SettingsScreen.swift index e7f8723..263f280 100644 --- a/ConversationsClassic/View/Main/Settings/SettingsScreen.swift +++ b/ConversationsClassic/View/Main/Settings/SettingsScreen.swift @@ -118,13 +118,19 @@ struct SettingsScreen: View { @ViewBuilder private var addAccountSelector: some View { Button { - print("Add existing account") + router.showScreen(.push) { _ in + LoginScreen() + .navigationBarHidden(true) + } } label: { Text(L10n.Settings.Section.Accounts.addExists) } Button { - print("Add new account") + router.showScreen(.push) { _ in + RegistrationScreen() + .navigationBarHidden(true) + } } label: { Text(L10n.Settings.Section.Accounts.addNew) }