Adjusting default zaps for the Zap the Devs button

pull/948/head
Vitor Pamplona 2024-06-27 12:19:55 -04:00
rodzic 372eaabb50
commit 39c9b4d50f
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -491,7 +491,7 @@ fun customZapClick(
} else if (accountViewModel.account.zapAmountChoices.size == 1) {
val amount = accountViewModel.account.zapAmountChoices.first()
if (amount > 600) {
if (amount > 1100) {
accountViewModel.zap(
baseNote,
amount * 1000,
@ -509,7 +509,7 @@ fun customZapClick(
// recommends amounts for a monthly release.
}
} else if (accountViewModel.account.zapAmountChoices.size > 1) {
if (accountViewModel.account.zapAmountChoices.any { it > 600 }) {
if (accountViewModel.account.zapAmountChoices.any { it > 1100 }) {
onMultipleChoices(accountViewModel.account.zapAmountChoices)
} else {
onMultipleChoices(listOf(1000L, 5_000L, 10_000L))