From 3d8936dafef6073607bf0f5bd81dd670853cddf8 Mon Sep 17 00:00:00 2001 From: Jerome Chan Date: Thu, 15 Dec 2022 14:43:58 +0800 Subject: [PATCH] Removed Colors.appActionButtonShadow --- AlphaWallet/Common/Types/AppStyle.swift | 1 - AlphaWallet/Common/Types/Configuration.swift | 1 + AlphaWallet/Common/Views/ButtonsBar/ButtonsBar.swift | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/AlphaWallet/Common/Types/AppStyle.swift b/AlphaWallet/Common/Types/AppStyle.swift index 865f007af..2795a5a03 100644 --- a/AlphaWallet/Common/Types/AppStyle.swift +++ b/AlphaWallet/Common/Types/AppStyle.swift @@ -100,7 +100,6 @@ extension UITabBarController { } struct Colors { - static let appActionButtonShadow = UIColor.clear static let appBackground = UIColor.white static let appGrayLabel = UIColor(red: 155, green: 155, blue: 155) static let appGreenContrastBackground = UIColor(red: 86, green: 153, blue: 8) diff --git a/AlphaWallet/Common/Types/Configuration.swift b/AlphaWallet/Common/Types/Configuration.swift index eedad6479..194806774 100644 --- a/AlphaWallet/Common/Types/Configuration.swift +++ b/AlphaWallet/Common/Types/Configuration.swift @@ -112,6 +112,7 @@ struct Configuration { } static let defaultButtonBorder = R.color.alabaster()! static let actionButtonBackground = UIColor(red: 105, green: 200, blue: 0) + static let actionButtonShadow = UIColor.clear static let labelTextActive = UIColor { trait in return colorFrom(trait: trait, lightColor: R.color.mine()!, darkColor: R.color.white()!) diff --git a/AlphaWallet/Common/Views/ButtonsBar/ButtonsBar.swift b/AlphaWallet/Common/Views/ButtonsBar/ButtonsBar.swift index 1568190ec..23a28cf8c 100644 --- a/AlphaWallet/Common/Views/ButtonsBar/ButtonsBar.swift +++ b/AlphaWallet/Common/Views/ButtonsBar/ButtonsBar.swift @@ -387,7 +387,7 @@ struct ButtonsBarViewModel { } var buttonShadowColor: UIColor { - return Colors.appActionButtonShadow + return Configuration.Color.Semantic.actionButtonShadow } var buttonShadowOffset: CGSize {