android: Timed messages TTL logic in preferences (#1624)

* android: Timed messages TTL logic in preferences

* do not set ttl in global timed message prefs

Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
This commit is contained in:
Stanislav DmitrenkoandEvgeny Poberezkin authored and GitHub committed 2022-12-22 15:39:24 +00:00
1 parent 8dac96f415
commit e6aad24e5f
2 files changed
+1 -2

No files matched your search

@@ -2056,7 +2056,7 @@ data class SimpleChatPreference(
): ChatPreference
@Serializable
class TimedMessagesPreference(
data class TimedMessagesPreference(
override val allow: FeatureAllowed,
val ttl: Int? = null
): ChatPreference {
@@ -21,7 +21,6 @@ import chat.simplex.app.model.*
import chat.simplex.app.ui.theme.*
import chat.simplex.app.views.helpers.*
import chat.simplex.app.views.usersettings.PreferenceToggle
import chat.simplex.app.views.usersettings.PreferenceToggleWithIcon
@Composable
fun ContactPreferencesView(