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 Dmitrenko
2022-12-22 18:39:24 +03:00
committed by GitHub
parent 8dac96f415
commit e6aad24e5f
2 changed files with 1 additions and 2 deletions

View File

@@ -2056,7 +2056,7 @@ data class SimpleChatPreference(
): ChatPreference
@Serializable
class TimedMessagesPreference(
data class TimedMessagesPreference(
override val allow: FeatureAllowed,
val ttl: Int? = null
): ChatPreference {

View File

@@ -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(