#59 username is now saved to user document on register
This commit is contained in:
parent
57d959a510
commit
e7ab3aadc1
4 changed files with 23 additions and 3 deletions
|
@ -2,7 +2,9 @@ package be.ugent.sel.studeez.di
|
|||
|
||||
import be.ugent.sel.studeez.domain.AccountDAO
|
||||
import be.ugent.sel.studeez.domain.LogService
|
||||
import be.ugent.sel.studeez.domain.UserDAO
|
||||
import be.ugent.sel.studeez.domain.implementation.FirebaseAccountDAO
|
||||
import be.ugent.sel.studeez.domain.implementation.FirebaseUserDAO
|
||||
import be.ugent.sel.studeez.domain.implementation.LogServiceImpl
|
||||
import dagger.Binds
|
||||
import dagger.Module
|
||||
|
@ -14,6 +16,8 @@ import dagger.hilt.components.SingletonComponent
|
|||
abstract class DatabaseModule {
|
||||
@Binds abstract fun provideAccountDAO(impl: FirebaseAccountDAO): AccountDAO
|
||||
|
||||
@Binds abstract fun provideUserDAO(impl: FirebaseUserDAO): UserDAO
|
||||
|
||||
@Binds abstract fun provideLogService(impl: LogServiceImpl): LogService
|
||||
|
||||
}
|
Reference in a new issue