Reorder some files

This commit is contained in:
Shinokuni 2024-11-09 14:28:25 +01:00
parent 783276a27b
commit a5f16e089c
4 changed files with 5 additions and 6 deletions

View File

@ -6,7 +6,7 @@ import androidx.compose.runtime.Stable
import androidx.core.net.toFile
import cafe.adriel.voyager.core.model.screenModelScope
import com.readrops.api.opml.OPMLParser
import com.readrops.app.base.TabScreenModel
import com.readrops.app.home.TabScreenModel
import com.readrops.app.repositories.ErrorResult
import com.readrops.app.repositories.GetFoldersWithFeeds
import com.readrops.app.util.components.TextFieldError

View File

@ -9,7 +9,7 @@ import com.readrops.api.services.Credentials
import com.readrops.api.utils.AuthInterceptor
import com.readrops.api.utils.HtmlParser
import com.readrops.app.R
import com.readrops.app.base.TabScreenModel
import com.readrops.app.home.TabScreenModel
import com.readrops.app.repositories.BaseRepository
import com.readrops.app.repositories.GetFoldersWithFeeds
import com.readrops.app.util.components.TextFieldError

View File

@ -1,4 +1,4 @@
package com.readrops.app.base
package com.readrops.app.home
import android.content.SharedPreferences
import cafe.adriel.voyager.core.model.ScreenModel
@ -20,7 +20,7 @@ import org.koin.core.component.get
import org.koin.core.parameter.parametersOf
/**
* Custom ViewModel for Tab screens handling account change
* Custom screenModel for Tab screens handling account change
*/
abstract class TabScreenModel(
private val database: Database,
@ -62,7 +62,6 @@ abstract class TabScreenModel(
currentAccount = account
repository = get(parameters = { parametersOf(account) })
_accountEvent.emit(account)
}
}

View File

@ -9,7 +9,7 @@ import androidx.paging.PagingData
import androidx.paging.cachedIn
import androidx.work.workDataOf
import cafe.adriel.voyager.core.model.screenModelScope
import com.readrops.app.base.TabScreenModel
import com.readrops.app.home.TabScreenModel
import com.readrops.app.repositories.ErrorResult
import com.readrops.app.repositories.GetFoldersWithFeeds
import com.readrops.app.sync.SyncWorker