fix: default value for presenting method

This commit is contained in:
Nikita Semenov 2022-11-08 18:11:39 +03:00
parent d0576acd95
commit e1c9596010
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ final public class LoggingPresenter {
}
/// Shows the UIWindow with a button that opens a logging list view.
public func addLogsButton(to scene: UIWindowScene? = nil, isShakingMotionAllowed isShaking: Bool = true) {
public func addLogsButton(to scene: UIWindowScene? = nil, isShakingMotionAllowed isShaking: Bool = false) {
showWindow(withScene: scene)
loggingViewController.setVisible(isVisible: true)
loggingViewController.setRegistrationForShacking(isShackingEventAllowed: isShaking)