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(
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
}
}
}