This commit is contained in:
Serge
2024-04-05 13:53:25 +02:00
parent fff3c2924e
commit 558f8b2cc0
2 changed files with 4 additions and 2 deletions

View File

@@ -61,9 +61,11 @@ namespace GHelper.AnimeMatrix
public void SetLidMode(bool force = false)
{
if (AppConfig.Is("matrix_lid") || force)
bool matrixLid = AppConfig.Is("matrix_lid");
if (matrixLid || force)
{
Logger.WriteLine($"Matrix LidClosed: {lidClose}");
if (deviceSlash is not null) deviceSlash.SetLidMode(matrixLid);
SetDevice(true);
}
}