element-hq / element-hq/element-ios
If `enableSideMenu` flag is set to false in BuildSettings icon incorrect and navigate to SideMenu crash
- Dominant language
- Swift
- Stars
- 1.8k
- Forks
- 544
- PR merge metrics
- PR metrics pending
Description
### Steps to reproduce
1. Where are you starting? What can you see? -> Set the `enableSideMenu` flag to false
2. What do you click? -> Start app and tap on the side menu icon
3. App will crash with `fatalError("sideMenuCoordinator is not initialized")`
###
### What happened?
### What did you expect?
Expect to have the settings icon on top left of home screen, and navigate directly to settings if `enableSideMenu = false`
### What happened?
App crashes with `fatalError("sideMenuCoordinator is not initialized")`
### Your phone model
Simulator
### Operating system version
iOS 14.5
### Application version
1.6.1
### Homeserver
any
### Have you submitted a rageshake?
No
Contributor guide
Assessment
This issue has not been assessed yet.