mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-16 20:10:04 +03:00
Show all rooms of spaces in home by default
Change-Id: I59beb29283e90665a4128193edc407146ecf5672
This commit is contained in:
parent
998018032a
commit
9b88c608c2
2 changed files with 5 additions and 3 deletions
|
@ -1167,8 +1167,10 @@ class VectorPreferences @Inject constructor(private val context: Context): Stati
|
|||
|
||||
fun prefSpacesShowAllRoomInHome(): Boolean {
|
||||
return defaultPrefs.getBoolean(SETTINGS_PREF_SPACE_SHOW_ALL_ROOM_IN_HOME,
|
||||
// migration of old property
|
||||
!labsSpacesOnlyOrphansInHome())
|
||||
true)
|
||||
// migration of old property - leads to unexpected results, since we don't do the same in the xml
|
||||
// - and who cares nowadays either way
|
||||
//!labsSpacesOnlyOrphansInHome())
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -119,7 +119,7 @@
|
|||
<im.vector.app.core.preference.VectorPreferenceCategory android:title="@string/spaces">
|
||||
|
||||
<im.vector.app.core.preference.VectorSwitchPreference
|
||||
android:defaultValue="false"
|
||||
android:defaultValue="true"
|
||||
android:key="SETTINGS_PREF_SPACE_SHOW_ALL_ROOM_IN_HOME"
|
||||
android:title="@string/preference_show_all_rooms_in_home"
|
||||
android:summary="@string/all_rooms_youre_in_will_be_shown_in_home" />
|
||||
|
|
Loading…
Add table
Reference in a new issue