Enable "Mark as unread" by default

Change-Id: I50baa44a77c8519bdb2c9b00b6ab18040ac9ead9
This commit is contained in:
SpiritCroc 2021-11-17 16:35:30 +01:00
parent b30f583f13
commit 62a5b216f5
2 changed files with 2 additions and 2 deletions

View file

@ -1005,7 +1005,7 @@ class VectorPreferences @Inject constructor(private val context: Context): Stati
// SC addition
fun labAllowMarkUnread(): Boolean {
return defaultPrefs.getBoolean(SETTINGS_LABS_ALLOW_MARK_UNREAD, false)
return defaultPrefs.getBoolean(SETTINGS_LABS_ALLOW_MARK_UNREAD, true)
}
// SC addition

View file

@ -53,7 +53,7 @@
android:summary="@string/url_previews_in_encrypted_rooms_summary" />
<im.vector.app.core.preference.VectorSwitchPreference
android:defaultValue="false"
android:defaultValue="true"
android:key="SETTINGS_LABS_ALLOW_MARK_UNREAD"
android:title="@string/labs_mark_rooms_unread"
android:summary="@string/labs_mark_rooms_unread_summary" />