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