修改全部应用排序bug

This commit is contained in:
youdiansaodongxi 2023-05-05 10:04:10 +08:00
parent 34f33a8dfc
commit b6da65c021
1 changed files with 5 additions and 1 deletions

View File

@ -171,7 +171,11 @@ bool AllAppDataProvider::appDataSort(const DataEntity &a, const DataEntity &b)
} else if (b.isRecentInstall()) {
return false;
} else {
return a.launchTimes() > b.launchTimes();
if (a.launchTimes() == b.launchTimes()) {
return letterSort(a.firstLetter(), b.firstLetter());
} else {
return a.launchTimes() > b.launchTimes();
}
}
} else {
return a.top() > b.top();