Implement several donor badge fixes and rotate flags.

* Add white Google Pay buttons for use in dark mode.
* Always display badges for self.
* Disallow toggling / feature selection if no network is present.
* Only display bottom sheet overscroll if content scrolls.
* Flatten settings xml for better animations.
* Add a bit of space to the bottom of subscribe fragment.
* Treat GooglePay errors as setup failures.
* Add quieter log for 404.
* Ensure we check case before initial currency code comparison.
* Fix timeout dialog copy.
* Fix double settings activity on top issue.
* Rotate FF.
This commit is contained in:
Alex Hart
2021-11-18 13:25:37 -04:00
committed by GitHub
parent 473747ee03
commit e17c49505c
95 changed files with 838 additions and 228 deletions

View File

@@ -63,7 +63,7 @@ internal class DonationsValues internal constructor(store: KeyValueStore) : Sign
CurrencyUtil.getCurrencyByCurrencyCode(currencyCode)
}
return if (currency != null && StripeApi.Validation.supportedCurrencyCodes.contains(currency.currencyCode)) {
return if (currency != null && StripeApi.Validation.supportedCurrencyCodes.contains(currency.currencyCode.toUpperCase(Locale.ROOT))) {
currency
} else {
Currency.getInstance("USD")