App Manager: Allow negative numbers when manual-sorting
parent
fc0989ca41
commit
d62dec7dcb
|
|
@ -533,7 +533,7 @@
|
|||
{ "id": "files",
|
||||
"name": "App Manager",
|
||||
"icon": "files.png",
|
||||
"version":"0.06",
|
||||
"version":"0.07",
|
||||
"description": "Show currently installed apps, free space, and allow their deletion from the watch",
|
||||
"tags": "tool,system,files",
|
||||
"storage": [
|
||||
|
|
|
|||
|
|
@ -3,3 +3,4 @@
|
|||
0.04: Add functionality to sort apps manually or alphabetically ascending/descending.
|
||||
0.05: Tweaks to help with memory usage
|
||||
0.06: Reduce memory usage
|
||||
0.07: Allow negative numbers when manual-sorting
|
||||
|
|
@ -180,7 +180,7 @@ function showSortAppsManually() {
|
|||
appList.reduce((menu, app) => {
|
||||
menu[app.name] = {
|
||||
value: app.sortorder || 0,
|
||||
min: 0,
|
||||
min: -appList.length,
|
||||
max: appList.length,
|
||||
step: 1,
|
||||
onchange: val => setSortorder(app, val)
|
||||
|
|
|
|||
Loading…
Reference in New Issue