mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2024-09-29 08:20:51 +00:00
Fixes sat division and the state changing text.
This commit is contained in:
parent
9ceb8866ed
commit
0936df9851
@ -282,7 +282,9 @@ fun FeedDVM(
|
||||
) {
|
||||
val status = latestStatus.status() ?: return
|
||||
|
||||
var currentStatus = status.description
|
||||
var currentStatus by remember {
|
||||
mutableStateOf(status.description)
|
||||
}
|
||||
|
||||
Column(
|
||||
Modifier
|
||||
@ -370,7 +372,7 @@ fun FeedDVM(
|
||||
}
|
||||
|
||||
if (amountInInvoice != null) {
|
||||
Text(text = "Pay " + (amountInInvoice / 1000).toString() + " sats to the DVM")
|
||||
Text(text = "Pay $amountInInvoice sats to the DVM")
|
||||
} else {
|
||||
Text(text = "Pay Invoice from the DVM")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user