save draft when toogling nip4 and nip 44

This commit is contained in:
greenart7c3 2024-03-25 07:48:30 -03:00
parent 27db2b91ab
commit ed4d867622

View File

@ -1115,6 +1115,11 @@ open class NewPostViewModel() : ViewModel() {
} else {
nip24 = !nip24
}
if (message.text.isNotBlank()) {
viewModelScope.launch(Dispatchers.IO) {
saveDraft()
}
}
}
fun updateMinZapAmountForPoll(textMin: String) {