podadrem: fix warning from linter no-unused-var

pull/3633/head
thyttan 2024-11-01 01:48:06 +01:00
parent 163df7be62
commit 18bb51d27c
3 changed files with 7 additions and 7 deletions

View File

@ -8,6 +8,6 @@ Addict.
0.07: Remove just the specific listeners to not interfere with Quick Launch
when fastloading.
0.08: Issue newline before GB commands (solves issue with console.log and ignored commands)
0.09: Don't send the gadgetbridge wake command twice. Once should do since we
issue newline before GB commands.
0.09: Don't send the gadgetbridge wake command twice. Once should do since we issue newline before GB commands.
0.10: Minor code improvements
0.11: Fix a warning from the linter.

View File

@ -127,7 +127,7 @@ The functions for interacting with Android and the Podcast Addict app
let pkg = "com.bambuna.podcastaddict";
let standardCls = pkg + ".receiver.PodcastAddictPlayerReceiver";
let updateCls = pkg + ".receiver.PodcastAddictBroadcastReceiver";
let speed = 1.0;
//let speed = 1.0;
let simpleSearch = "";
@ -269,15 +269,15 @@ let speedMenu = {
}
},
"Regular Speed": () => {
speed = 1.0;
//speed = 1.0;
btMsg("service", standardCls, "player.1xspeed");
},
"1.5x Regular Speed": () => {
speed = 1.5;
//speed = 1.5;
btMsg("service", standardCls, "player.1.5xspeed");
},
"2x Regular Speed": () => {
speed = 2.0;
//speed = 2.0;
btMsg("service", standardCls, "player.2xspeed");
},
//"Faster" : ()=>{speed+=0.1; speed=((speed>5.0)?5.0:speed); btMsg("service",standardCls,"player.customspeed",{arg1:speed});},

View File

@ -2,7 +2,7 @@
"id": "podadrem",
"name": "Podcast Addict Remote",
"shortName": "PA Remote",
"version": "0.10",
"version": "0.11",
"description": "Control Podcast Addict on your android device.",
"readme": "README.md",
"type": "app",