mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-04-08 20:08:06 +02:00
save draft when toogling nip4 and nip 44
This commit is contained in:
parent
27db2b91ab
commit
ed4d867622
@ -1115,6 +1115,11 @@ open class NewPostViewModel() : ViewModel() {
|
||||
} else {
|
||||
nip24 = !nip24
|
||||
}
|
||||
if (message.text.isNotBlank()) {
|
||||
viewModelScope.launch(Dispatchers.IO) {
|
||||
saveDraft()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fun updateMinZapAmountForPoll(textMin: String) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user