committed by
GitHub
parent
a7c5d6a2ee
commit
b2d4dc5ecb
@@ -43,16 +43,8 @@ public:
|
||||
auto manifests = getApps();
|
||||
std::sort(manifests.begin(), manifests.end(), SortAppManifestByName);
|
||||
|
||||
lv_list_add_text(list, "User");
|
||||
for (const auto& manifest: manifests) {
|
||||
if (manifest->type == Type::User) {
|
||||
createAppWidget(manifest, list);
|
||||
}
|
||||
}
|
||||
|
||||
lv_list_add_text(list, "System");
|
||||
for (const auto& manifest: manifests) {
|
||||
if (manifest->type == Type::System) {
|
||||
if (manifest->type == Type::User || manifest->type == Type::System) {
|
||||
createAppWidget(manifest, list);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user