mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-03-30 16:25:57 +00:00
android, desktop: restore message TTL in database settings if confirmation is dismissed (#4072)
This commit is contained in:
committed by
GitHub
parent
2f79bfb075
commit
e5ac472da3
@@ -300,6 +300,7 @@ private fun setChatItemTTLAlert(
|
||||
confirmText = generalGetString(MR.strings.delete_messages),
|
||||
onConfirm = { setCiTTL(m, rhId, selectedChatItemTTL, progressIndicator, appFilesCountAndSize) },
|
||||
onDismiss = { selectedChatItemTTL.value = m.chatItemTTL.value },
|
||||
onDismissRequest = { selectedChatItemTTL.value = m.chatItemTTL.value },
|
||||
destructive = true,
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user