mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-07-16 06:33:00 +02:00
Adjusting default zaps for the Zap the Devs button
This commit is contained in:
@ -491,7 +491,7 @@ fun customZapClick(
|
|||||||
} else if (accountViewModel.account.zapAmountChoices.size == 1) {
|
} else if (accountViewModel.account.zapAmountChoices.size == 1) {
|
||||||
val amount = accountViewModel.account.zapAmountChoices.first()
|
val amount = accountViewModel.account.zapAmountChoices.first()
|
||||||
|
|
||||||
if (amount > 600) {
|
if (amount > 1100) {
|
||||||
accountViewModel.zap(
|
accountViewModel.zap(
|
||||||
baseNote,
|
baseNote,
|
||||||
amount * 1000,
|
amount * 1000,
|
||||||
@ -509,7 +509,7 @@ fun customZapClick(
|
|||||||
// recommends amounts for a monthly release.
|
// recommends amounts for a monthly release.
|
||||||
}
|
}
|
||||||
} else if (accountViewModel.account.zapAmountChoices.size > 1) {
|
} 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)
|
onMultipleChoices(accountViewModel.account.zapAmountChoices)
|
||||||
} else {
|
} else {
|
||||||
onMultipleChoices(listOf(1000L, 5_000L, 10_000L))
|
onMultipleChoices(listOf(1000L, 5_000L, 10_000L))
|
||||||
|
Reference in New Issue
Block a user