Fixed a typo

This commit is contained in:
IceStormNG
2023-07-21 15:45:42 +02:00
parent d99c3a8301
commit 3f87730375

View File

@@ -39,7 +39,7 @@ namespace GHelper.Helpers
return SystemInformation.PowerStatus.PowerLineStatus == PowerLineStatus.Online; return SystemInformation.PowerStatus.PowerLineStatus == PowerLineStatus.Online;
} }
public bool IsInClamshellReady() public bool IsClamshellReady()
{ {
return IsExternalDisplayConnected() && IsChargerConnected(); return IsExternalDisplayConnected() && IsChargerConnected();
} }
@@ -51,7 +51,7 @@ namespace GHelper.Helpers
return; return;
} }
if (IsInClamshellReady()) if (IsClamshellReady())
{ {
EnableClamshellMode(); EnableClamshellMode();
} }