-
Notifications
You must be signed in to change notification settings - Fork 95
Closed
Labels
bugbugs; wait for 'approved' label to begin workbugs; wait for 'approved' label to begin work
Description
Describe the bug
App crashes when DarkTheme enabled on iOS 13,
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'App called -statusBar or -statusBarWindow on UIApplication: this code must be changed as there's no longer a status bar or status bar window. Use the statusBarManager object on the window scene instead.'
To Reproduce
Steps to reproduce the behavior:
- Install app from Xcode 11.0+
- Go to Sign in screen
- Sign in to account with dark theme enabled
- App crashes
Expected behavior
App should not crash
Smartphone (please complete the following information):
- Device: iPhone 11
- OS: iOS 13.1
- Version 1.2.1 Build 13
Additional context
Crash is caused by this line
guard let statusBarView = UIApplication.shared.value(forKeyPath: "statusBarWindow.statusBar") as? UIView else {
Metadata
Metadata
Assignees
Labels
bugbugs; wait for 'approved' label to begin workbugs; wait for 'approved' label to begin work