selection impossible when filtering in add room screen #5757 (#5758)

- Fixed
- Other minor code / UI tweaks
This commit is contained in:
Gil Eluard
2022-03-07 12:25:50 +01:00
committed by GitHub
parent 59038e18c1
commit cf015c4ef2
30 changed files with 64 additions and 31 deletions
@@ -52,7 +52,9 @@ final class SpaceSettingsCoordinator: Coordinator, Presentable {
let view = SpaceSettings(viewModel: viewModel.context)
.addDependency(AvatarService.instantiate(mediaManager: parameters.session.mediaManager))
spaceSettingsViewModel = viewModel
spaceSettingsHostingController = VectorHostingController(rootView: view)
let controller = VectorHostingController(rootView: view)
controller.enableNavigationBarScrollEdgesAppearance = true
spaceSettingsHostingController = controller
}
// MARK: - Public
@@ -40,7 +40,7 @@ struct SpaceSettings: View {
.padding(.bottom, 32)
}
}
.background(theme.colors.navigation)
.background(theme.colors.navigation.ignoresSafeArea())
.waitOverlay(show: viewModel.viewState.isLoading, allowUserInteraction: false)
.ignoresSafeArea(.container, edges: .bottom)
.frame(maxHeight: .infinity)