Rename function for clarity

master
Travis Evans 2024-05-26 13:23:29 -05:00
parent 872a7a51de
commit a08d580a1e
1 changed files with 3 additions and 3 deletions

View File

@ -320,7 +320,7 @@ class MainScreen {
{type: 'btn', font: '6x8:2', fillx: 1, label: '+ XX:XX', id: 'addBtn', {type: 'btn', font: '6x8:2', fillx: 1, label: '+ XX:XX', id: 'addBtn',
cb: this.addTimestamp.bind(this)}, cb: this.addTimestamp.bind(this)},
{type: 'btn', font: '6x8:2', label: getIcon('menu'), id: 'menuBtn', {type: 'btn', font: '6x8:2', label: getIcon('menu'), id: 'menuBtn',
cb: settingsMenu}, cb: launchSettingsMenu},
], ],
}, },
], ],
@ -450,7 +450,7 @@ class MainScreen {
} }
mainUI.addTimestamp(); mainUI.addTimestamp();
} else if (act == 'Show menu') { } else if (act == 'Show menu') {
settingsMenu(); launchSettingsMenu();
} else if (act == 'Quit app') { } else if (act == 'Quit app') {
Bangle.showClock(); Bangle.showClock();
} }
@ -612,7 +612,7 @@ class LogEntryScreen {
} }
function settingsMenu() { function launchSettingsMenu() {
const fonts = g.getFonts(); const fonts = g.getFonts();
function topMenu() { function topMenu() {