From 3f8773037507a639e59929433c429f043ed25a81 Mon Sep 17 00:00:00 2001 From: IceStormNG Date: Fri, 21 Jul 2023 15:45:42 +0200 Subject: [PATCH] Fixed a typo --- app/Helpers/ClamshellModeControl.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Helpers/ClamshellModeControl.cs b/app/Helpers/ClamshellModeControl.cs index b5a900ce..d4fb59fc 100644 --- a/app/Helpers/ClamshellModeControl.cs +++ b/app/Helpers/ClamshellModeControl.cs @@ -39,7 +39,7 @@ namespace GHelper.Helpers return SystemInformation.PowerStatus.PowerLineStatus == PowerLineStatus.Online; } - public bool IsInClamshellReady() + public bool IsClamshellReady() { return IsExternalDisplayConnected() && IsChargerConnected(); } @@ -51,7 +51,7 @@ namespace GHelper.Helpers return; } - if (IsInClamshellReady()) + if (IsClamshellReady()) { EnableClamshellMode(); }