From 77bdd9d5cbacf399e009c5bceb3f5c07b4ebbc8e Mon Sep 17 00:00:00 2001 From: armored-dragon Date: Tue, 27 Aug 2024 22:40:06 -0500 Subject: [PATCH] Fix app search. --- applications/more/more.qml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/applications/more/more.qml b/applications/more/more.qml index cff7213..9299821 100644 --- a/applications/more/more.qml +++ b/applications/more/more.qml @@ -54,13 +54,13 @@ Rectangle { id: search_query onAccepted: { if (current_page == "app_list"){ - searchList(search_query.text, installed_apps); - return; - } - if (current_page == "repos"){ - searchList(search_query.text, repo_list); + searchList(search_query.text, app_listings); return; } + // if (current_page == "repos"){ + // searchList(search_query.text, repo_list); + // return; + // } } MouseArea { anchors.fill: parent @@ -896,7 +896,7 @@ Rectangle { // Searching function searchList(text, element){ - + for (var i = 0; i < element.count; i++) { var app = element.get(i);