mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-10-04 18:02:39 +02:00
Rename amount to amountInMillisats to give visual clue to calling classes that millisats should be used
This commit is contained in:
@@ -607,7 +607,7 @@ class AccountViewModel(
|
|||||||
|
|
||||||
fun zap(
|
fun zap(
|
||||||
note: Note,
|
note: Note,
|
||||||
amount: Long,
|
amountInMillisats: Long,
|
||||||
pollOption: Int?,
|
pollOption: Int?,
|
||||||
message: String,
|
message: String,
|
||||||
context: Context,
|
context: Context,
|
||||||
@@ -621,7 +621,7 @@ class AccountViewModel(
|
|||||||
ZapPaymentHandler(account)
|
ZapPaymentHandler(account)
|
||||||
.zap(
|
.zap(
|
||||||
note = note,
|
note = note,
|
||||||
amountMilliSats = amount,
|
amountMilliSats = amountInMillisats,
|
||||||
pollOption = pollOption,
|
pollOption = pollOption,
|
||||||
message = message,
|
message = message,
|
||||||
context = context,
|
context = context,
|
||||||
|
Reference in New Issue
Block a user