Use HLM to store strictMode flag

This commit is contained in:
Mykola Baibuz 2025-02-18 22:26:56 +02:00
parent 7a3520cb20
commit 84d95477cb
10 changed files with 24 additions and 12 deletions

View file

@ -256,7 +256,7 @@ bool SettingsController::isStrictKillSwitchEnabled()
void SettingsController::toggleStrictKillSwitch(bool enable)
{
m_settings->setStrictKillSwitchEnabled(enable);
emit strictKillSwitchEnabledChanged();
emit strictKillSwitchEnabledChanged(enable);
}
bool SettingsController::isNotificationPermissionGranted()