From e1c95960102fb8077a32f9f8833951322ea028cf Mon Sep 17 00:00:00 2001 From: Nikita Semenov Date: Tue, 8 Nov 2022 18:11:39 +0300 Subject: [PATCH] fix: default value for presenting method --- TILogging/Sources/LoggingPresenter.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TILogging/Sources/LoggingPresenter.swift b/TILogging/Sources/LoggingPresenter.swift index 9427184c..03ccce6c 100644 --- a/TILogging/Sources/LoggingPresenter.swift +++ b/TILogging/Sources/LoggingPresenter.swift @@ -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)