Fixed lint failure

This commit is contained in:
MohitMaliFtechiz 2023-06-29 18:29:35 +05:30
parent ec1b6ac9f7
commit 79960d952c
3 changed files with 1 additions and 12 deletions

View File

@ -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
)
}
)

View File

@ -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

View File

@ -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