Fixes sat division and the state changing text.

This commit is contained in:
Vitor Pamplona 2024-05-20 13:19:04 -04:00
parent 9ceb8866ed
commit 0936df9851

View File

@ -282,7 +282,9 @@ fun FeedDVM(
) { ) {
val status = latestStatus.status() ?: return val status = latestStatus.status() ?: return
var currentStatus = status.description var currentStatus by remember {
mutableStateOf(status.description)
}
Column( Column(
Modifier Modifier
@ -370,7 +372,7 @@ fun FeedDVM(
} }
if (amountInInvoice != null) { if (amountInInvoice != null) {
Text(text = "Pay " + (amountInInvoice / 1000).toString() + " sats to the DVM") Text(text = "Pay $amountInInvoice sats to the DVM")
} else { } else {
Text(text = "Pay Invoice from the DVM") Text(text = "Pay Invoice from the DVM")
} }