chore: lint

Signed-off-by: KaiserBh <kaiserbh@proton.me>
This commit is contained in:
KaiserBh 2023-11-20 07:50:56 +11:00
parent 389d40ab41
commit 3839d58289
No known key found for this signature in database
GPG Key ID: 14D73B142042BBA9
3 changed files with 5 additions and 5 deletions

View File

@ -334,7 +334,6 @@ object SettingsDataScreen : SearchableSettings {
),
) + getSyncServicePreferences(syncPreferences, syncService)
}
}
@Composable
@ -350,9 +349,11 @@ private fun getSyncServicePreferences(syncPreferences: SyncPreferences, syncServ
}
}
@Composable
private fun getBasePreferences(syncServiceType: SyncManager.SyncService, syncPreferences: SyncPreferences): List<Preference> {
private fun getBasePreferences(
syncServiceType: SyncManager.SyncService,
syncPreferences: SyncPreferences,
): List<Preference> {
return when (syncServiceType) {
SyncManager.SyncService.NONE -> emptyList()
SyncManager.SyncService.SYNCYOMI -> getSelfHostPreferences(syncPreferences)

View File

@ -18,7 +18,6 @@ import tachiyomi.domain.sync.SyncPreferences
import uy.kohesive.injekt.Injekt
import uy.kohesive.injekt.api.get
import java.util.concurrent.TimeUnit
import kotlin.random.Random
class SyncDataJob(private val context: Context, workerParams: WorkerParameters) :
CoroutineWorker(context, workerParams) {

View File

@ -6,9 +6,9 @@ import androidx.lifecycle.lifecycleScope
import eu.kanade.tachiyomi.data.sync.service.GoogleDriveService
import tachiyomi.core.i18n.stringResource
import tachiyomi.core.util.lang.launchIO
import tachiyomi.i18n.MR
import uy.kohesive.injekt.Injekt
import uy.kohesive.injekt.api.get
import tachiyomi.i18n.MR
class GoogleDriveLoginActivity : BaseOAuthLoginActivity() {
private val googleDriveService = Injekt.get<GoogleDriveService>()