Added additional sorting for installed modules
This commit is contained in:
parent
d3f49334e2
commit
6352fbb3b2
@ -48,7 +48,7 @@ class Module(path: String) : BaseModule() {
|
||||
}
|
||||
|
||||
if (name.isEmpty()) {
|
||||
name = id;
|
||||
name = id
|
||||
}
|
||||
}
|
||||
|
||||
@ -65,7 +65,7 @@ class Module(path: String) : BaseModule() {
|
||||
val module = Module(Const.MAGISK_PATH + "/" + file.name)
|
||||
moduleList.add(module)
|
||||
}
|
||||
return moduleList
|
||||
return moduleList.sortedBy { it.name }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user