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
@@ -114,7 +114,11 @@ extension RoomChangePermissionsScreenViewState {
RoomPermissionsSetting(title: L10n.screenRoomChangePermissionsDeleteMessages,
value: currentPermissions.redact,
ownPowerLevel: ownPowerLevel,
keyPath: \.redact)
keyPath: \.redact),
RoomPermissionsSetting(title: L10n.screenRoomChangePermissionsLiveLocation,
value: currentPermissions.liveLocation,
ownPowerLevel: ownPowerLevel,
keyPath: \.liveLocation)
]
}
case .manageSpace: