forked from Writand/writand
Merge branch 'backend/fix-projects-structure' into 'main'
fix: better structure and example Quotes is changed to real name See merge request EmmaVandewalle/writand!26
This commit is contained in:
commit
773bc7e4f7
3 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
package be.re.writand.data.repos
|
||||
package be.re.writand.data.repos.projects
|
||||
|
||||
import be.re.writand.data.local.models.Project
|
||||
import kotlinx.coroutines.flow.Flow
|
|
@ -1,4 +1,4 @@
|
|||
package be.re.writand.data.repos
|
||||
package be.re.writand.data.repos.projects
|
||||
|
||||
import be.re.writand.data.local.db.ProjectsDao
|
||||
import be.re.writand.data.local.models.Project
|
|
@ -22,7 +22,7 @@ class DatabaseModule {
|
|||
return ProjectsDatabase.getInstance(context)
|
||||
}
|
||||
@Provides
|
||||
fun provideQuotesDao(projectsDatabase: ProjectsDatabase): ProjectsDao {
|
||||
fun provideProjectsDao(projectsDatabase: ProjectsDatabase): ProjectsDao {
|
||||
return projectsDatabase.projectsDao()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue