Fixing wrong view reference in title assignment

This commit is contained in:
Maxime NATUREL 2022-08-10 15:44:16 +02:00
parent b9fa4ddfc8
commit 3a9aa7472a

View file

@ -553,7 +553,7 @@ class VectorSettingsSecurityPrivacyFragment @Inject constructor(
showDeviceListPref.summary = resources.getQuantityString(R.plurals.settings_active_sessions_count, devices.size, devices.size)
showDevicesListV2Pref.isVisible = vectorFeatures.isNewDeviceManagementEnabled()
showDevicesListV2Pref.title = showDeviceListPref.title.toString() + " (V2, WIP)"
showDevicesListV2Pref.title = showDevicesListV2Pref.title.toString() + " (V2, WIP)"
showDevicesListV2Pref.summary = resources.getQuantityString(R.plurals.settings_active_sessions_count, devices.size, devices.size)
val userId = session.myUserId