Merge pull request #3965 from eviltofu/#3945_Title_for_disabled_secondary_button_not_visible

Added missing disabledButtonTitleColor attribute to ButtonsBar static variables
pull/3958/head
Hwee-Boon Yar 3 years ago committed by GitHub
commit dd0942795e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      AlphaWallet/Core/Views/ButtonsBar/ButtonsBar.swift

@ -340,6 +340,7 @@ struct ButtonsBarViewModel {
disabledButtonBackgroundColor: ButtonsBarStyle.Colors.primaryBackgroundInactive,
disabledButtonBorderColor: ButtonsBarStyle.Colors.primaryBorderInactive,
buttonTitleColor: ButtonsBarStyle.Colors.primaryTextActive,
disabledButtonTitleColor: ButtonsBarStyle.Colors.primaryTextInactive,
buttonBorderColor: ButtonsBarStyle.Colors.primaryBorderActive
)
@ -348,6 +349,7 @@ struct ButtonsBarViewModel {
disabledButtonBackgroundColor: ButtonsBarStyle.Colors.secondaryBackgroundInactive,
disabledButtonBorderColor: ButtonsBarStyle.Colors.secondaryBorderInactive,
buttonTitleColor: ButtonsBarStyle.Colors.secondaryTextActive,
disabledButtonTitleColor: ButtonsBarStyle.Colors.secondaryTextInactive,
buttonBorderColor: ButtonsBarStyle.Colors.secondaryBorderActive
)

Loading…
Cancel
Save