mirror of
https://github.com/mihonapp/mihon.git
synced 2025-11-04 16:18:55 +01:00
Authentication with batoto done
This commit is contained in:
@@ -14,6 +14,7 @@ import eu.kanade.mangafeed.presenter.MangaDetailPresenter;
|
||||
import eu.kanade.mangafeed.presenter.MangaInfoPresenter;
|
||||
import eu.kanade.mangafeed.presenter.ReaderPresenter;
|
||||
import eu.kanade.mangafeed.presenter.SourcePresenter;
|
||||
import eu.kanade.mangafeed.sources.base.Source;
|
||||
import eu.kanade.mangafeed.ui.activity.ReaderActivity;
|
||||
import eu.kanade.mangafeed.ui.fragment.SettingsAccountsFragment;
|
||||
|
||||
@@ -37,6 +38,8 @@ public interface AppComponent {
|
||||
void inject(ReaderActivity readerActivity);
|
||||
void inject(SettingsAccountsFragment settingsAccountsFragment);
|
||||
|
||||
void inject(Source source);
|
||||
|
||||
Application application();
|
||||
|
||||
}
|
||||
|
||||
@@ -55,8 +55,8 @@ public class DataModule {
|
||||
|
||||
@Provides
|
||||
@Singleton
|
||||
SourceManager provideSourceManager(NetworkHelper networkHelper, CacheManager cacheManager) {
|
||||
return new SourceManager(networkHelper, cacheManager);
|
||||
SourceManager provideSourceManager(Application app) {
|
||||
return new SourceManager(app);
|
||||
}
|
||||
|
||||
@Provides
|
||||
|
||||
Reference in New Issue
Block a user