We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36784a7 commit 0040159Copy full SHA for 0040159
apps/backlite/settings.js
@@ -1,7 +1,6 @@
1
(function(back) {
2
var FILE = "BackLite.settings.json";
3
4
- // Load settings safely (avoid crashes on bad/missing JSON)
5
var settings = require("Storage").readJSON(FILE, 1) || {};
6
7
if (!isFinite(settings.brightness)) settings.brightness = 0.3;
0 commit comments