Files
OpenPlexusX/VibranceHud/GameProfileApplyGate.cs
T
2026-11-24 23:40:08 +03:00

26 lines
401 B
C#

namespace VibranceHud;
public sealed class GameProfileApplyGate
{
private readonly AppSettings _settings;
public GameProfileApplyGate(AppSettings settings)
{
_settings = settings;
}
public bool ShouldAutoApply(string gameId)
{
if (_settings.ManualOverrideActive)
{
return false;
}
return true;
}
public void UserOptedBackIn()
{
_settings.ManualOverrideActive = false;
}
}