mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-08-20 03:47:32 +00:00
Added additional sorting for installed modules
This commit is contained in:

committed by
John Wu

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 }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user