Switch prefered room preview types to best tested selection
Devs prefer this option and test this the most. Change-Id: I1a986597d539589e68c588d99074d32dd04e4833
This commit is contained in:
parent
4ad5062b1e
commit
2117f95290
@ -1105,7 +1105,7 @@ class VectorPreferences @Inject constructor(
|
|||||||
|
|
||||||
// SC addition
|
// SC addition
|
||||||
private fun roomUnreadKind(key: String): Int {
|
private fun roomUnreadKind(key: String): Int {
|
||||||
val default = RoomSummary.UNREAD_KIND_CONTENT
|
val default = RoomSummary.UNREAD_KIND_ORIGINAL_CONTENT
|
||||||
val kind = defaultPrefs.getString(key, default.toString())
|
val kind = defaultPrefs.getString(key, default.toString())
|
||||||
return try {
|
return try {
|
||||||
Integer.parseInt(kind!!)
|
Integer.parseInt(kind!!)
|
||||||
|
@ -94,7 +94,7 @@
|
|||||||
android:title="@string/settings_single_overview" />
|
android:title="@string/settings_single_overview" />
|
||||||
|
|
||||||
<im.vector.app.core.preference.VectorListPreference
|
<im.vector.app.core.preference.VectorListPreference
|
||||||
android:defaultValue="1"
|
android:defaultValue="2"
|
||||||
android:entries="@array/room_unread_kind_entries"
|
android:entries="@array/room_unread_kind_entries"
|
||||||
android:entryValues="@array/room_unread_kind_values"
|
android:entryValues="@array/room_unread_kind_values"
|
||||||
android:key="SETTINGS_ROOM_UNREAD_KIND_DM"
|
android:key="SETTINGS_ROOM_UNREAD_KIND_DM"
|
||||||
@ -102,7 +102,7 @@
|
|||||||
android:title="@string/settings_room_unread_kind_dm" />
|
android:title="@string/settings_room_unread_kind_dm" />
|
||||||
|
|
||||||
<im.vector.app.core.preference.VectorListPreference
|
<im.vector.app.core.preference.VectorListPreference
|
||||||
android:defaultValue="1"
|
android:defaultValue="2"
|
||||||
android:entries="@array/room_unread_kind_entries"
|
android:entries="@array/room_unread_kind_entries"
|
||||||
android:entryValues="@array/room_unread_kind_values"
|
android:entryValues="@array/room_unread_kind_values"
|
||||||
android:key="SETTINGS_ROOM_UNREAD_KIND_GROUP"
|
android:key="SETTINGS_ROOM_UNREAD_KIND_GROUP"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user