Revert "[TMP] Force-disable "open at first unread" setting"

This reverts commit f06ae844dcfcf0768248139a75d466e341e07fa6.

Change-Id: I12111941fc71b9f7e49742e52f9a212382a44b7b
This commit is contained in:
SpiritCroc 2022-03-08 18:41:10 +01:00
parent 430963ae28
commit 96d7e4859b
2 changed files with 1 additions and 3 deletions

View File

@ -1034,8 +1034,7 @@ class VectorPreferences @Inject constructor(private val context: Context, privat
// SC addition
fun loadRoomAtFirstUnread(): Boolean {
// https://github.com/vector-im/element-android/issues/5092
return false // defaultPrefs.getBoolean(SETTINGS_OPEN_CHATS_AT_FIRST_UNREAD, false)
return defaultPrefs.getBoolean(SETTINGS_OPEN_CHATS_AT_FIRST_UNREAD, false)
}
// Element removed this, SC added it back (but this time, default to true)

View File

@ -35,7 +35,6 @@
<!--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"