Skip to content

Commit 33fd0ab

Browse files
author
thyttan
committed
dtluanch: respect showLaunchers setting
1 parent fd919da commit 33fd0ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/dtlaunch/app-b2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
hash : launchHash,
2424
apps : s.list(/\.info$/)
2525
.map(app=>{var a=s.readJSON(app,1);return a&&{name:a.name,type:a.type,icon:a.icon,sortorder:a.sortorder,src:a.src};})
26-
.filter(app=>app && (app.type=="app" || (app.type=="clock" && settings.showClocks) || !app.type))
26+
.filter(app=>app && (app.type=="app" || (app.type=="clock" && settings.showClocks) || (app.type=="launch" && settings.showLaunchers) || !app.type))
2727
.sort((a,b)=>{
2828
var n=(0|a.sortorder)-(0|b.sortorder);
2929
if (n) return n; // do sortorder first

0 commit comments

Comments
 (0)