mirror of
https://github.com/yogeshpaliyal/KeyPass.git
synced 2026-01-04 16:47:32 -06:00
fix: empty tags (#581)
This commit is contained in:
committed by
GitHub
parent
75c76af5b7
commit
228f312619
@@ -81,7 +81,7 @@ interface DbDao {
|
||||
@Query("SELECT * FROM account WHERE unique_id = :uniqueId")
|
||||
suspend fun getAccount(uniqueId: String?): AccountModel?
|
||||
|
||||
@Query("SELECT DISTINCT tags FROM account")
|
||||
@Query("SELECT DISTINCT tags FROM account WHERE tags IS NOT NULL AND tags <> ''")
|
||||
fun getTags(): Flow<List<String>>
|
||||
|
||||
@Query("DELETE from account WHERE id = :id")
|
||||
|
||||
Reference in New Issue
Block a user