mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-08-03 10:46:53 -04:00
Fixed lint failure
This commit is contained in:
parent
ec1b6ac9f7
commit
79960d952c
@ -19,17 +19,10 @@
|
||||
package org.kiwix.kiwixmobile.core.dao.entities
|
||||
|
||||
import androidx.room.PrimaryKey
|
||||
import org.kiwix.kiwixmobile.core.data.local.entity.RecentSearch
|
||||
|
||||
@androidx.room.Entity
|
||||
data class RecentSearchRoomEntity(
|
||||
@PrimaryKey var id: Long = 0L,
|
||||
val searchTerm: String,
|
||||
val zimId: String
|
||||
) {
|
||||
constructor(recentSearch: RecentSearch) : this(
|
||||
0,
|
||||
recentSearch.searchString,
|
||||
recentSearch.zimID
|
||||
)
|
||||
}
|
||||
)
|
||||
|
@ -19,11 +19,9 @@ package org.kiwix.kiwixmobile.core.page.bookmark.viewmodel.effects
|
||||
*/
|
||||
|
||||
import androidx.appcompat.app.AppCompatActivity
|
||||
import androidx.lifecycle.lifecycleScope
|
||||
import io.reactivex.processors.PublishProcessor
|
||||
import kotlinx.coroutines.CoroutineScope
|
||||
import org.kiwix.kiwixmobile.core.base.SideEffect
|
||||
import org.kiwix.kiwixmobile.core.dao.BasePageDao
|
||||
import org.kiwix.kiwixmobile.core.dao.PageDao
|
||||
import org.kiwix.kiwixmobile.core.extensions.ActivityExtensions.cachedComponent
|
||||
import org.kiwix.kiwixmobile.core.page.bookmark.adapter.BookmarkItem
|
||||
|
@ -20,13 +20,11 @@ package org.kiwix.kiwixmobile.core.page.notes.viewmodel.effects
|
||||
|
||||
import android.util.Log
|
||||
import androidx.appcompat.app.AppCompatActivity
|
||||
import androidx.lifecycle.lifecycleScope
|
||||
import io.reactivex.processors.PublishProcessor
|
||||
import kotlinx.coroutines.CoroutineScope
|
||||
import kotlinx.coroutines.Dispatchers
|
||||
import kotlinx.coroutines.launch
|
||||
import org.kiwix.kiwixmobile.core.base.SideEffect
|
||||
import org.kiwix.kiwixmobile.core.dao.BasePageDao
|
||||
import org.kiwix.kiwixmobile.core.dao.PageDao
|
||||
import org.kiwix.kiwixmobile.core.extensions.ActivityExtensions.cachedComponent
|
||||
import org.kiwix.kiwixmobile.core.page.notes.viewmodel.NotesState
|
||||
|
Loading…
x
Reference in New Issue
Block a user