antiflashbang: add dedicated toggle, make disabling also restore brightness

This commit is contained in:
end-4
2025-11-03 21:48:26 +01:00
parent 22fb48cd0a
commit f23e9e5da9
5 changed files with 48 additions and 3 deletions
@@ -102,7 +102,7 @@ WindowDialog {
right: parent.right
}
iconSize: Appearance.font.pixelSize.larger
buttonIcon: "destruction"
buttonIcon: "flash_off"
text: Translation.tr("Enable")
checked: Config.options.light.antiFlashbang.enable
onCheckedChanged: {