Add the setting to change live location permissions to the change permissions screen.

This commit is contained in:
Mauro Romito
2026-05-05 18:31:41 +02:00
committed by Mauro
parent d5170ae4cc
commit 53669a606c
7 changed files with 29 additions and 14 deletions
@@ -67,7 +67,9 @@ class RoomChangePermissionsScreenViewModel: RoomChangePermissionsScreenViewModel
.flatMap { $0 }
.filter { state.currentPermissions[keyPath: $0.keyPath] != $0.value }
for setting in changedSettings {
changes[keyPath: setting.rustKeyPath] = setting.value
for keyPath in setting.rustKeyPaths {
changes[keyPath: keyPath] = setting.value
}
}
switch await roomProxy.applyPowerLevelChanges(changes) {