wip
This commit is contained in:
parent
633b4fa2b0
commit
232fd26b04
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue