commit 35b08ca2781969091a720c6c25184c5f6238ddf9 parent bfaf84e3f4f7ea24db80549a67388b7e1ed495d0 Author: Marc Stibane <marc@taler.net> Date: Mon, 22 Dec 2025 19:17:58 +0100 fix action icon color (disabled) Diffstat:
| M | TalerWallet1/Views/Actions/TwoRowButtons.swift | | | 5 | ++++- |
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/TalerWallet1/Views/Actions/TwoRowButtons.swift b/TalerWallet1/Views/Actions/TwoRowButtons.swift @@ -34,7 +34,10 @@ struct TypeButton: View { let blue = debug ? Color.blue : Color.clear let orange = debug ? Color.orange : Color.clear #endif - let badge = ButtonIconBadge(type: type, foreColor: .accentColor, done: false) + let disabledColor = WalletColors().gray2 + let badge = ButtonIconBadge(type: type, + foreColor: disabled ? disabledColor : .accentColor, + done: false) .talerFont(.title2) let hLayout = HStack { badge