Skip to content

Commit

Permalink
podadrem: fix warning from linter no-unused-var
Browse files Browse the repository at this point in the history
  • Loading branch information
thyttan committed Nov 1, 2024
1 parent 8b503f0 commit 1a848d4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion apps/podadrem/ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ 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.10: Minor code improvements
0.11: Clear menu before opening a textinput library.
0.11: Clear menu before opening a textinput library. Fix a warning from the linter.
8 changes: 4 additions & 4 deletions apps/podadrem/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "";

Expand Down Expand Up @@ -270,15 +270,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});},
Expand Down

0 comments on commit 1a848d4

Please sign in to comment.