mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
Swift format enforce isEmpty rule (#5843)
* swift format enforce isEmpty rule * revert scheme * use trailing closure
This commit is contained in:
@@ -136,7 +136,7 @@ struct SpaceScreen: View {
|
||||
}
|
||||
.accessibilityIdentifier(A11yIdentifiers.spaceScreen.addExistingRooms)
|
||||
|
||||
if context.viewState.rooms.count > 0 {
|
||||
if !context.viewState.rooms.isEmpty {
|
||||
Button { context.send(viewAction: .manageChildren) } label: {
|
||||
Label(L10n.actionManageRooms, icon: \.edit)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user