This commit is contained in:
fmodf 2024-10-17 19:41:57 +02:00
parent 633b4fa2b0
commit 232fd26b04

View file

@ -118,13 +118,19 @@ struct SettingsScreen: View {
@ViewBuilder private var addAccountSelector: some View { @ViewBuilder private var addAccountSelector: some View {
Button { Button {
print("Add existing account") router.showScreen(.push) { _ in
LoginScreen()
.navigationBarHidden(true)
}
} label: { } label: {
Text(L10n.Settings.Section.Accounts.addExists) Text(L10n.Settings.Section.Accounts.addExists)
} }
Button { Button {
print("Add new account") router.showScreen(.push) { _ in
RegistrationScreen()
.navigationBarHidden(true)
}
} label: { } label: {
Text(L10n.Settings.Section.Accounts.addNew) Text(L10n.Settings.Section.Accounts.addNew)
} }