diff --git a/core/src/main/java/org/kiwix/kiwixmobile/core/data/local/dao/RecentSearchDao.kt b/core/src/main/java/org/kiwix/kiwixmobile/core/data/local/dao/RecentSearchDao.kt index 2650ac187..2107d48d0 100644 --- a/core/src/main/java/org/kiwix/kiwixmobile/core/data/local/dao/RecentSearchDao.kt +++ b/core/src/main/java/org/kiwix/kiwixmobile/core/data/local/dao/RecentSearchDao.kt @@ -26,11 +26,8 @@ import javax.inject.Inject /** * Dao class for recent searches. */ -@Deprecated("") class RecentSearchDao @Inject constructor(private val mDb: KiwixDatabase) { - /** - * Returns a distinct enumeration of the `NUM_RECENT_RESULTS` most recent searches. - */ + fun getRecentSearches(): MutableList { val result: MutableList = ArrayList() mDb.query(