Rename amount to amountInMillisats to give visual clue to calling classes that millisats should be used

This commit is contained in:
David Kaspar 2024-09-02 12:26:26 +02:00
parent 941266365e
commit a4a753e7b6

View File

@ -607,7 +607,7 @@ class AccountViewModel(
fun zap(
note: Note,
amount: Long,
amountInMillisats: Long,
pollOption: Int?,
message: String,
context: Context,
@ -621,7 +621,7 @@ class AccountViewModel(
ZapPaymentHandler(account)
.zap(
note = note,
amountMilliSats = amount,
amountMilliSats = amountInMillisats,
pollOption = pollOption,
message = message,
context = context,