mirror of https://github.com/espruino/BangleApps
clockbg 0.02: Moved settings into 'Settings->Apps'
parent
1156ba6ba2
commit
b3baf95be9
|
@ -1 +1,2 @@
|
|||
0.01: New App!
|
||||
0.02: Moved settings into 'Settings->Apps'
|
|
@ -1 +0,0 @@
|
|||
require("heatshrink").decompress(atob("mEw4UA///8H55lCsHZHmEKgEVqoLIBQNVqgLGh4KBAANQBAUQBY1VoApBB4QLFDYoL/Bf4L/BbLrBBZAKBgEBBY0KAQIABgoLCCYQLEgEVBQYLGAAoL/Bf4LPAFw"))
|
|
@ -1,11 +1,11 @@
|
|||
{ "id": "clockbg",
|
||||
"name": "Clock Backgrounds",
|
||||
"shortName":"Backgrounds",
|
||||
"version": "0.01",
|
||||
"version": "0.02",
|
||||
"description": "Library that allows clocks to include a custom background, from a library or uploaded.",
|
||||
"icon": "app.png",
|
||||
"screenshots": [{"url":"screenshot.png"}],
|
||||
"type": "app",
|
||||
"type": "module",
|
||||
"readme": "README.md",
|
||||
"provides_modules" : ["clockbg"],
|
||||
"tags": "module,background",
|
||||
|
@ -13,8 +13,7 @@
|
|||
"interface": "interface.html",
|
||||
"storage": [
|
||||
{"name":"clockbg","url":"lib.js"},
|
||||
{"name":"clockbg.app.js","url":"app.js"},
|
||||
{"name":"clockbg.img","url":"app-icon.js","evaluate":true}
|
||||
{"name":"clockbg.settings.js","url":"settings.js"}
|
||||
], "data": [
|
||||
{"wildcard":"clockbg.bg*.img"},
|
||||
{"name":"clockbg.json"}
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
(function(back) {
|
||||
let settings = Object.assign({
|
||||
style : "randomcolor",
|
||||
colors : ["#F00","#0F0","#00F"]
|
||||
|
@ -82,7 +83,7 @@ function showModeMenu() {
|
|||
|
||||
function showMainMenu() {
|
||||
E.showMenu({
|
||||
"" : {title:/*LANG*/"Clock Background", back:load},
|
||||
"" : {title:/*LANG*/"Clock Background", back:back},
|
||||
/*LANG*/"Mode" : {
|
||||
value : settings.style,
|
||||
onchange : showModeMenu
|
||||
|
@ -90,4 +91,5 @@ function showMainMenu() {
|
|||
});
|
||||
}
|
||||
|
||||
showMainMenu();
|
||||
showMainMenu();
|
||||
})
|
Loading…
Reference in New Issue