Skip to content
This repository was archived by the owner on Apr 2, 2024. It is now read-only.

Commit 9aa3e75

Browse files
committed
Rename functions to represent their functionality
1 parent 2962dae commit 9aa3e75

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

app/src/main/java/acr/browser/lightning/di/AppBindsModule.kt

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,32 +30,32 @@ import dagger.Module
3030
interface AppBindsModule {
3131

3232
@Binds
33-
fun providesExitCleanup(delegatingExitCleanup: DelegatingExitCleanup): ExitCleanup
33+
fun bindsExitCleanup(delegatingExitCleanup: DelegatingExitCleanup): ExitCleanup
3434

3535
@Binds
36-
fun provideBookmarkModel(bookmarkDatabase: BookmarkDatabase): BookmarkRepository
36+
fun bindsBookmarkModel(bookmarkDatabase: BookmarkDatabase): BookmarkRepository
3737

3838
@Binds
39-
fun provideDownloadsModel(downloadsDatabase: DownloadsDatabase): DownloadsRepository
39+
fun bindsDownloadsModel(downloadsDatabase: DownloadsDatabase): DownloadsRepository
4040

4141
@Binds
42-
fun providesHistoryModel(historyDatabase: HistoryDatabase): HistoryRepository
42+
fun bindsHistoryModel(historyDatabase: HistoryDatabase): HistoryRepository
4343

4444
@Binds
45-
fun providesAdBlockAllowListModel(adBlockAllowListDatabase: AdBlockAllowListDatabase): AdBlockAllowListRepository
45+
fun bindsAdBlockAllowListModel(adBlockAllowListDatabase: AdBlockAllowListDatabase): AdBlockAllowListRepository
4646

4747
@Binds
48-
fun providesAllowListModel(sessionAllowListModel: SessionAllowListModel): AllowListModel
48+
fun bindsAllowListModel(sessionAllowListModel: SessionAllowListModel): AllowListModel
4949

5050
@Binds
51-
fun providesSslWarningPreferences(sessionSslWarningPreferences: SessionSslWarningPreferences): SslWarningPreferences
51+
fun bindsSslWarningPreferences(sessionSslWarningPreferences: SessionSslWarningPreferences): SslWarningPreferences
5252

5353
@Binds
54-
fun providesHostsDataSource(assetsHostsDataSource: AssetsHostsDataSource): HostsDataSource
54+
fun bindsHostsDataSource(assetsHostsDataSource: AssetsHostsDataSource): HostsDataSource
5555

5656
@Binds
57-
fun providesHostsRepository(hostsDatabase: HostsDatabase): HostsRepository
57+
fun bindsHostsRepository(hostsDatabase: HostsDatabase): HostsRepository
5858

5959
@Binds
60-
fun providesHostsDataSourceProvider(preferencesHostsDataSourceProvider: PreferencesHostsDataSourceProvider): HostsDataSourceProvider
60+
fun bindsHostsDataSourceProvider(preferencesHostsDataSourceProvider: PreferencesHostsDataSourceProvider): HostsDataSourceProvider
6161
}

0 commit comments

Comments
 (0)