mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 09:49:30 +01:00
Upgrade kotlin to 1.6.21
Also fix a collection of warnings.
This commit is contained in:
@@ -83,7 +83,7 @@ internal class DonationsValues internal constructor(store: KeyValueStore) : Sign
|
||||
CurrencyUtil.getCurrencyByCurrencyCode(currencyCode)
|
||||
}
|
||||
|
||||
return if (currency != null && StripeApi.Validation.supportedCurrencyCodes.contains(currency.currencyCode.toUpperCase(Locale.ROOT))) {
|
||||
return if (currency != null && StripeApi.Validation.supportedCurrencyCodes.contains(currency.currencyCode.uppercase(Locale.ROOT))) {
|
||||
currency
|
||||
} else {
|
||||
Currency.getInstance("USD")
|
||||
|
||||
Reference in New Issue
Block a user