mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 03:06:37 +00:00
swiftformat now enforces newlines for ifs
This commit is contained in:
@@ -49,7 +49,9 @@ struct InviteUsersScreenViewState: BindableState {
|
||||
}
|
||||
|
||||
func isUserDisabled(_ user: UserProfileProxy) -> Bool {
|
||||
if isInviteeMandatory(user) { return true }
|
||||
if isInviteeMandatory(user) {
|
||||
return true
|
||||
}
|
||||
let membershipState = membershipState(user)
|
||||
return membershipState == .invite || membershipState == .join
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user