From 846ba486374b988c7f7f6cfd636f3aede8f24701 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=E1=B4=87C=E1=B4=8F=E1=B4=85=E1=B4=87s2=E1=B4=8D=E1=B4=9C?= =?UTF-8?q?=E1=B4=84=CA=9C?= Date: Tue, 3 Dec 2024 09:34:24 +0000 Subject: [PATCH] Fix: Fixed the search feature to only show items not hidden. close #199 --- .../com/github/droidworksstudio/launcher/data/dao/AppInfoDAO.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/github/droidworksstudio/launcher/data/dao/AppInfoDAO.kt b/app/src/main/java/com/github/droidworksstudio/launcher/data/dao/AppInfoDAO.kt index a3f9bc14..b8d3840a 100644 --- a/app/src/main/java/com/github/droidworksstudio/launcher/data/dao/AppInfoDAO.kt +++ b/app/src/main/java/com/github/droidworksstudio/launcher/data/dao/AppInfoDAO.kt @@ -49,7 +49,7 @@ interface AppInfoDAO { @Query("SELECT * FROM app WHERE is_lock = 1 ORDER BY app_order ASC") fun getLockAppsFlow(): Flow> - @Query("SELECT * FROM app ORDER BY app_name COLLATE NOCASE ASC") + @Query("SELECT * FROM app WHERE is_hidden = 0 ORDER BY app_name COLLATE NOCASE ASC") fun searchApps(): Flow> @Update