Drop more format arguments

pull/3176/head
Rob Pilling 2024-02-05 22:31:45 +00:00
parent b2ff9dbb78
commit 08b6a9f16e
3 changed files with 0 additions and 4 deletions

View File

@ -17,7 +17,6 @@
"< Back" : () => back(), "< Back" : () => back(),
'Show Seconds': { 'Show Seconds': {
value: !!settings.showSeconds, // !! converts undefined to false value: !!settings.showSeconds, // !! converts undefined to false
format: v => v ? "On" : "Off",
onchange: v => { onchange: v => {
settings.showSeconds = v; settings.showSeconds = v;
writeSettings(); writeSettings();
@ -25,7 +24,6 @@
}, },
'Invert Scrolling': { 'Invert Scrolling': {
value: !!settings.invertScrolling, // !! converts undefined to false value: !!settings.invertScrolling, // !! converts undefined to false
format: v => v ? "On" : "Off",
onchange: v => { onchange: v => {
settings.invertScrolling = v; settings.invertScrolling = v;
writeSettings(); writeSettings();

View File

@ -20,7 +20,6 @@
"< Back": () => back(), "< Back": () => back(),
'Front Tap:': { 'Front Tap:': {
value: (appSettings.enableTap === true), value: (appSettings.enableTap === true),
format: v => v ? "On" : "Off",
onchange: v => { onchange: v => {
appSettings.enableTap = v; appSettings.enableTap = v;
writeSettings(); writeSettings();

View File

@ -5,7 +5,6 @@
'': { 'title': 'Welcome App' }, '': { 'title': 'Welcome App' },
'Run next boot': { 'Run next boot': {
value: !settings.welcomed, value: !settings.welcomed,
format: v => v ? 'Yes' : 'No',
onchange: v => require('Storage').write('welcome.json', {welcomed: !v}), onchange: v => require('Storage').write('welcome.json', {welcomed: !v}),
}, },
'Run Now': () => load('welcome.app.js'), 'Run Now': () => load('welcome.app.js'),