Sort modules ignore case

Close #2024
This commit is contained in:
topjohnwu 2019-11-04 17:14:18 -05:00
parent b1d25e0503
commit a6e62e07a2

View File

@ -65,7 +65,7 @@ class Module(path: String) : BaseModule() {
val module = Module(Const.MAGISK_PATH + "/" + file.name)
moduleList.add(module)
}
return moduleList.sortedBy { it.name }
return moduleList.sortedBy { it.name.toLowerCase() }
}
}
}