File tree Expand file tree Collapse file tree 2 files changed +2
-10
lines changed
vector/src/main/java/im/vector/app/features/settings Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change 1+ Fixes inconsistency with rooms within spaces showing or disappearing from home
Original file line number Diff line number Diff line change @@ -158,7 +158,6 @@ class VectorPreferences @Inject constructor(
158158 private const val SETTINGS_ENABLE_SEND_VOICE_FEATURE_PREFERENCE_KEY = " SETTINGS_ENABLE_SEND_VOICE_FEATURE_PREFERENCE_KEY"
159159
160160 const val SETTINGS_LABS_ALLOW_EXTENDED_LOGS = " SETTINGS_LABS_ALLOW_EXTENDED_LOGS"
161- const val SETTINGS_LABS_SPACES_HOME_AS_ORPHAN = " SETTINGS_LABS_SPACES_HOME_AS_ORPHAN"
162161 const val SETTINGS_LABS_AUTO_REPORT_UISI = " SETTINGS_LABS_AUTO_REPORT_UISI"
163162 const val SETTINGS_PREF_SPACE_SHOW_ALL_ROOM_IN_HOME = " SETTINGS_PREF_SPACE_SHOW_ALL_ROOM_IN_HOME"
164163
@@ -1020,20 +1019,12 @@ class VectorPreferences @Inject constructor(
10201019 }
10211020 }
10221021
1023- private fun labsSpacesOnlyOrphansInHome (): Boolean {
1024- return defaultPrefs.getBoolean(SETTINGS_LABS_SPACES_HOME_AS_ORPHAN , false )
1025- }
1026-
10271022 fun labsAutoReportUISI (): Boolean {
10281023 return defaultPrefs.getBoolean(SETTINGS_LABS_AUTO_REPORT_UISI , false )
10291024 }
10301025
10311026 fun prefSpacesShowAllRoomInHome (): Boolean {
1032- return defaultPrefs.getBoolean(
1033- SETTINGS_PREF_SPACE_SHOW_ALL_ROOM_IN_HOME ,
1034- // migration of old property
1035- ! labsSpacesOnlyOrphansInHome()
1036- )
1027+ return defaultPrefs.getBoolean(SETTINGS_PREF_SPACE_SHOW_ALL_ROOM_IN_HOME , false )
10371028 }
10381029
10391030 /*
You can’t perform that action at this time.
0 commit comments