mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
remove unused cursor
This commit is contained in:
parent
6520ad5f03
commit
26e3de8b99
1 changed files with 0 additions and 3 deletions
|
|
@ -52,7 +52,6 @@ class LibraryViewModel @Inject constructor(
|
|||
) : ViewModel(), SavedItemViewModel {
|
||||
|
||||
private val contentRequestChannel = Channel<String>(capacity = Channel.UNLIMITED)
|
||||
private var cursor: String? = null
|
||||
private var librarySearchCursor: String? = null
|
||||
|
||||
var snackbarMessage by mutableStateOf<String?>(null)
|
||||
|
|
@ -136,7 +135,6 @@ class LibraryViewModel @Inject constructor(
|
|||
}
|
||||
|
||||
fun refresh() {
|
||||
cursor = null
|
||||
librarySearchCursor = null
|
||||
isRefreshing = true
|
||||
load()
|
||||
|
|
@ -155,7 +153,6 @@ class LibraryViewModel @Inject constructor(
|
|||
fun initialLoad() {
|
||||
if (getLastSyncTime() == null) {
|
||||
hasLoadedInitialFilters = false
|
||||
cursor = null
|
||||
librarySearchCursor = null
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue