This commit is contained in:
fmodf 2024-10-18 19:37:49 +02:00
parent 232fd26b04
commit c02b0ce41f

View file

@ -69,18 +69,20 @@ struct SettingsScreen: View {
} }
} }
SharedListRow( if parent == .main {
iconType: .image(Image(systemName: "plus"), .Material.Elements.active), SharedListRow(
text: L10n.Settings.Section.Accounts.add, iconType: .image(Image(systemName: "plus"), .Material.Elements.active),
controlType: .none text: L10n.Settings.Section.Accounts.add,
) controlType: .none
.onTapGesture { )
router.showAlert( .onTapGesture {
.confirmationDialog, router.showAlert(
title: L10n.Settings.Section.Accounts.add, .confirmationDialog,
subtitle: L10n.Settings.Section.Accounts.addHint title: L10n.Settings.Section.Accounts.add,
) { subtitle: L10n.Settings.Section.Accounts.addHint
addAccountSelector ) {
addAccountSelector
}
} }
} }