commit 2abf16b0eef288bcd4cd6d0e1b51b19361fc7869 parent 390e3d070936a629b7dd41c29522b3fc881785cf Author: Marc Stibane <marc@taler.net> Date: Thu, 20 Aug 2026 15:51:18 +0200 MoreButton Diffstat:
| M | TalerCommon/HelperViews/Buttons.swift | | | 14 | ++++++++++++++ |
| M | TalerWallet1/Controllers/PublicConstants.swift | | | 1 | + |
2 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/TalerCommon/HelperViews/Buttons.swift b/TalerCommon/HelperViews/Buttons.swift @@ -172,6 +172,20 @@ struct PlusButton : View { } } +struct MoreButton : View { + let accessibilityLabelStr: String + let action: () -> Void + + var body: some View { + Button(action: action) { + Image(systemName: MORE) + } + .tint(WalletColors().primaryAccent) + .talerFont(.title) + .accessibilityLabel(accessibilityLabelStr) + } +} + @available(iOS 26.0, *) struct SettingsButton26 : View { let sortPriority: Double diff --git a/TalerWallet1/Controllers/PublicConstants.swift b/TalerWallet1/Controllers/PublicConstants.swift @@ -64,6 +64,7 @@ public let CHEVRON = "chevron.forward" // public let CHEVRON_UP = "chevron.up" // 1.0 (iOS 13) public let BANKNOTE = "banknote.fill" // 2.0 (iOS 14) +public let MORE = "ellipsis" // 1.0 (iOS 13) public let PLUS = "plus" // 1.0 (iOS 13) public let XMARK = "xmark" // 1.0 (iOS 13) public let LIGHT_OFF = "lightbulb" // 1.0 (iOS 13)