mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-20 19:29:15 +01:00
refactor: Move SyncData to SyncService.kt
Since it only contains a single class doesn't need to be in it's own package. Signed-off-by: KaiserBh <kaiserbh@proton.me>
This commit is contained in:
parent
71872ead81
commit
dac08ba3da
@ -1,9 +0,0 @@
|
||||
package eu.kanade.tachiyomi.data.sync.models
|
||||
|
||||
import eu.kanade.tachiyomi.data.backup.models.Backup
|
||||
import kotlinx.serialization.Serializable
|
||||
|
||||
@Serializable
|
||||
data class SyncData(
|
||||
val backup: Backup? = null,
|
||||
)
|
@ -5,11 +5,16 @@ import eu.kanade.tachiyomi.data.backup.models.Backup
|
||||
import eu.kanade.tachiyomi.data.backup.models.BackupCategory
|
||||
import eu.kanade.tachiyomi.data.backup.models.BackupChapter
|
||||
import eu.kanade.tachiyomi.data.backup.models.BackupManga
|
||||
import eu.kanade.tachiyomi.data.sync.models.SyncData
|
||||
import kotlinx.serialization.Serializable
|
||||
import kotlinx.serialization.json.Json
|
||||
import tachiyomi.domain.sync.SyncPreferences
|
||||
import java.time.Instant
|
||||
|
||||
@Serializable
|
||||
data class SyncData(
|
||||
val backup: Backup? = null,
|
||||
)
|
||||
|
||||
abstract class SyncService(
|
||||
val context: Context,
|
||||
val json: Json,
|
||||
|
Loading…
Reference in New Issue
Block a user