fix: chacking for opend logging list view controller
This commit is contained in:
parent
13cf92c9c1
commit
d0576acd95
|
|
@ -88,7 +88,9 @@ public extension UIWindow {
|
|||
return
|
||||
}
|
||||
|
||||
if motion == .motionShake, loggingController.isRegisteredForShakingEvent {
|
||||
if motion == .motionShake,
|
||||
logginController.isLogsPresented,
|
||||
loggingController.isRegisteredForShakingEvent {
|
||||
loggingController.openLoggingScreen()
|
||||
} else {
|
||||
super.motionEnded(motion, with: event)
|
||||
|
|
|
|||
Loading…
Reference in New Issue