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:
committed by
GitHub
parent
8dac96f415
commit
e6aad24e5f
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user