[TMP] Force-disable "open at first unread" setting
This feature is really dangerous (i.e. often leads to broken timelines) in combination with https://github.com/vector-im/element-android/issues/5092. Change-Id: Ib9c6b4e0e8cba19f438690c64195724a93735584
This commit is contained in:
parent
08ac537518
commit
f06ae844dc
@ -1025,7 +1025,8 @@ class VectorPreferences @Inject constructor(private val context: Context, privat
|
||||
|
||||
// SC addition
|
||||
fun loadRoomAtFirstUnread(): Boolean {
|
||||
return defaultPrefs.getBoolean(SETTINGS_OPEN_CHATS_AT_FIRST_UNREAD, false)
|
||||
// https://github.com/vector-im/element-android/issues/5092
|
||||
return false // defaultPrefs.getBoolean(SETTINGS_OPEN_CHATS_AT_FIRST_UNREAD, false)
|
||||
}
|
||||
|
||||
// Element removed this, SC added it back (but this time, default to true)
|
||||
|
@ -35,6 +35,7 @@
|
||||
<!--android:title="@string/settings_labs_enable_send_voice" />-->
|
||||
|
||||
<im.vector.app.core.preference.VectorSwitchPreference
|
||||
android:enabled="false"
|
||||
android:defaultValue="false"
|
||||
android:key="SETTINGS_OPEN_CHATS_AT_FIRST_UNREAD"
|
||||
android:title="@string/settings_open_chats_at_first_unread"
|
||||
|
Loading…
x
Reference in New Issue
Block a user