From 2117f952905f965703709f49a12efcc303944315 Mon Sep 17 00:00:00 2001 From: SpiritCroc Date: Thu, 14 Dec 2023 11:36:35 +0100 Subject: [PATCH] Switch prefered room preview types to best tested selection Devs prefer this option and test this the most. Change-Id: I1a986597d539589e68c588d99074d32dd04e4833 --- .../java/im/vector/app/features/settings/VectorPreferences.kt | 2 +- vector/src/main/res/xml/vector_settings_preferences.xml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/vector/src/main/java/im/vector/app/features/settings/VectorPreferences.kt b/vector/src/main/java/im/vector/app/features/settings/VectorPreferences.kt index 0723e30e82..4f62b76dec 100755 --- a/vector/src/main/java/im/vector/app/features/settings/VectorPreferences.kt +++ b/vector/src/main/java/im/vector/app/features/settings/VectorPreferences.kt @@ -1105,7 +1105,7 @@ class VectorPreferences @Inject constructor( // SC addition 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()) return try { Integer.parseInt(kind!!) diff --git a/vector/src/main/res/xml/vector_settings_preferences.xml b/vector/src/main/res/xml/vector_settings_preferences.xml index 1209e82b01..e225bf91fb 100644 --- a/vector/src/main/res/xml/vector_settings_preferences.xml +++ b/vector/src/main/res/xml/vector_settings_preferences.xml @@ -94,7 +94,7 @@ android:title="@string/settings_single_overview" />