StatusBar Style is overwritten by SwiftEntryKit after the alert is dismissed.
Describe the bug
When UIApplication.shared.statusBar.style is default and SwiftEntryKit is displayed and closed, the style is rewritten to either .lightContent or .darkContent.
related to this codes https://github.com/huri000/SwiftEntryKit/blob/cf1cde7a70d64af8c0c13b11e8dfd5bf2f190e38/Source/Model/EntryAttributes/EKAttributes%2BStatusBar.swift#L58-L68
So I thought It needed to add a new case.default to EkAttributes.StatusBar.
To Reproduce Steps to reproduce the behavior:
- Set UIApplication.shared.statusBar.style to
.default. - Set the device to dark mode.
- show SwiftEntryKit
- close Swift
- status bar style is overridden to
.darkContent
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
iPhone (please complete the following information):
- iPhone 11 Pro
- iOS 15.5
- Xcode Version 13.3.1
- Dependency Manager Version SPM
- SwiftEntryKit Release # [e.g. 0.2.0]
Additional context Add any other context about the problem here.
Screenshots / Video Links
I have the same issue !