mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
reused the room details view model for the space settings screen
This commit is contained in:
@@ -77,7 +77,7 @@ struct RoomDetailsScreenViewState: BindableState {
|
||||
knockingEnabled && dmRecipientInfo == nil && canEditRolesOrPermissions
|
||||
}
|
||||
|
||||
var canEdit: Bool {
|
||||
var canEditBaseInfo: Bool {
|
||||
!isDirect && (canEditRoomName || canEditRoomTopic || canEditRoomAvatar)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user