mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-09 08:38:43 +01:00
Revert "[TMP] Force-disable "open at first unread" setting"
This reverts commit f06ae844dcfcf0768248139a75d466e341e07fa6. Change-Id: I12111941fc71b9f7e49742e52f9a212382a44b7b
This commit is contained in:
parent
430963ae28
commit
96d7e4859b
@ -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)
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user