Skip to content

Commit

Permalink
chore: add to DI.
Browse files Browse the repository at this point in the history
  • Loading branch information
kaiserbh committed Jan 20, 2024
1 parent ba63253 commit d70aa37
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/src/main/java/eu/kanade/tachiyomi/di/PreferenceModule.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package eu.kanade.tachiyomi.di
import android.app.Application
import eu.kanade.domain.base.BasePreferences
import eu.kanade.domain.source.service.SourcePreferences
import eu.kanade.domain.sync.SyncPreferences
import eu.kanade.domain.track.service.TrackPreferences
import eu.kanade.domain.ui.UiPreferences
import eu.kanade.tachiyomi.core.security.SecurityPreferences
Expand Down Expand Up @@ -66,5 +67,9 @@ class PreferenceModule(val app: Application) : InjektModule {
addSingletonFactory {
BasePreferences(app, get())
}

addSingletonFactory {
SyncPreferences(get())
}
}
}

0 comments on commit d70aa37

Please sign in to comment.