package com.hosshan.android.salad.component.scene.commit

import android.app.Application
import com.hosshan.android.salad.repository.github.ContentsRepository
import dagger.Module
import dagger.Provides

/**
 * CommitModule
 */
@Module
internal class CommitModule {

    @Provides
    fun provideCommitPresenter(application: Application,
                               contentsRepository: ContentsRepository): CommitPresenterImpl =
            CommitPresenterImpl(application, contentsRepository)

}
