Improve disabled action buttons background color

pull/1413/head
Hwee-Boon Yar 5 years ago
parent 403b3ae142
commit 97fcc3307d
  1. 1
      AlphaWallet/Style/AppStyle.swift
  2. 4
      AlphaWallet/UI/ButtonsBar.swift

@ -69,6 +69,7 @@ struct Colors {
static let appText = UIColor(red: 47, green: 47, blue: 47)
static let appHighlightGreen = UIColor(red: 117, green: 185, blue: 67)
static let appActionButtonGreen = UIColor(red: 105, green: 200, blue: 0)
static let disabledActionButton = UIColor(hex: "d7ebc8")
static let appActionButtonShadow = UIColor.clear
static let appGreenContrastBackground = UIColor(red: 86, green: 153, blue: 8)
static let appLightButtonSeparator = UIColor(red: 255, green: 255, blue: 255, alpha: 0.2)

@ -103,7 +103,7 @@ private struct ButtonsBarViewModel {
}
var disabledButtonBackgroundColor: UIColor {
return Colors.gray
return Colors.disabledActionButton
}
var buttonTitleColor: UIColor {
@ -111,7 +111,7 @@ private struct ButtonsBarViewModel {
}
var disabledButtonTitleColor: UIColor {
return Colors.darkGray
return Colors.appWhite
}
var buttonCornerRadius: CGFloat {

Loading…
Cancel
Save