fix: fixed search functionality

This commit is contained in:
antonio 2023-07-18 10:37:17 +02:00
parent 260e6e9daa
commit 560ac2df68
4 changed files with 13 additions and 13 deletions

View file

@ -12,7 +12,7 @@ import java.util.List;
@Dao
public interface RecentSearchDao {
@Query("SELECT * FROM recent_search ORDER BY search ASC")
@Query("SELECT * FROM recent_search ORDER BY search DESC")
List<String> getRecent();
@Insert(onConflict = OnConflictStrategy.REPLACE)