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( 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,