From 685693ab23c5ca36908e41f01fe03ff063d490f7 Mon Sep 17 00:00:00 2001 From: dankito Date: Mon, 3 Aug 2020 21:07:53 +0200 Subject: [PATCH] Graying out banks that do not support FinTS 3.0 --- ui/BankingiOSApp/BankingiOSApp/ui/views/BankInfoListItem.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/BankingiOSApp/BankingiOSApp/ui/views/BankInfoListItem.swift b/ui/BankingiOSApp/BankingiOSApp/ui/views/BankInfoListItem.swift index b6a4ec73..3b9d3274 100644 --- a/ui/BankingiOSApp/BankingiOSApp/ui/views/BankInfoListItem.swift +++ b/ui/BankingiOSApp/BankingiOSApp/ui/views/BankInfoListItem.swift @@ -29,6 +29,8 @@ struct BankInfoListItem: View { .styleAsDetail() .padding(.top, 6.0) } + .opacity(bank.supportsFinTs3_0 ? 1.0 : 0.25) + .accentColor(bank.supportsFinTs3_0 ? .label : .secondaryLabel) } }