updated preview tests

This commit is contained in:
Mauro Romito
2026-05-05 18:38:21 +02:00
committed by Mauro
parent 95c362d31a
commit 2a5278bf64
9 changed files with 18 additions and 18 deletions

View File

@@ -35,8 +35,8 @@ struct RoomPermissionsSetting: Identifiable {
/// The `RoomPermissions` property that this setting is for.
let keyPath: KeyPath<RoomPermissions, Int64>
/// The `RoomPowerLevelChanges` property that this setting is saved into.
var rustKeyPaths: [WritableKeyPath<RoomPowerLevelChanges, Int64?>] {
/// The `RoomPowerLevelChanges` properties that this setting is saved into.
var rustKeyPaths: Set<WritableKeyPath<RoomPowerLevelChanges, Int64?>> {
switch keyPath {
case \.ban: [\.ban]
case \.invite: [\.invite]