mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 01:20:12 +00:00
reused the room details view model for the space settings screen
This commit is contained in:
@@ -46,7 +46,7 @@ struct RoomDetailsScreen: View {
|
||||
message: blockUserAlertMessage)
|
||||
.toolbar {
|
||||
ToolbarItem(placement: .navigationBarTrailing) {
|
||||
if context.viewState.canEdit {
|
||||
if context.viewState.canEditBaseInfo {
|
||||
Button(L10n.actionEdit) {
|
||||
context.send(viewAction: .processTapEdit)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user