Merge pull request #1043 from crazysaem/master

Small Update for Pattern Launcher
pull/1045/head^2
Gordon Williams 2021-12-09 13:15:55 +00:00 committed by GitHub
commit f73f10f980
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 2 deletions

View File

@ -4826,7 +4826,7 @@
"id": "ptlaunch",
"name": "Pattern Launcher",
"shortName": "Pattern Launcher",
"version": "0.01",
"version": "0.02",
"description": "Directly launch apps from the clock screen with custom patterns.",
"icon": "app.png",
"tags": "tools",

View File

@ -1 +1,2 @@
0.01: Initial creation of the pattern launch app
0.01: Initial creation of the pattern launch app
0.02: Turn on lcd when launching an app if the lock screen was disabled in the settings

View File

@ -135,6 +135,12 @@ var dragHandler = (position) => {
if (storedPatterns[pattern]) {
var app = storedPatterns[pattern].app;
if (!!app && !!app.src) {
if (storedPatterns.settings) {
if (storedPatterns.settings.lockDisabled) {
Bangle.setLCDPower(true);
}
}
Bangle.removeListener("drag", dragHandler);
load(app.src);
}