diff --git a/app/src/main/java/be/re/writand/data/repos/IProjectsRepository.kt b/app/src/main/java/be/re/writand/data/repos/projects/IProjectsRepository.kt similarity index 94% rename from app/src/main/java/be/re/writand/data/repos/IProjectsRepository.kt rename to app/src/main/java/be/re/writand/data/repos/projects/IProjectsRepository.kt index d29344e..c7f84b6 100644 --- a/app/src/main/java/be/re/writand/data/repos/IProjectsRepository.kt +++ b/app/src/main/java/be/re/writand/data/repos/projects/IProjectsRepository.kt @@ -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 diff --git a/app/src/main/java/be/re/writand/data/repos/ProjectsRepository.kt b/app/src/main/java/be/re/writand/data/repos/projects/ProjectsRepository.kt similarity index 93% rename from app/src/main/java/be/re/writand/data/repos/ProjectsRepository.kt rename to app/src/main/java/be/re/writand/data/repos/projects/ProjectsRepository.kt index d8b6671..a6b76d4 100644 --- a/app/src/main/java/be/re/writand/data/repos/ProjectsRepository.kt +++ b/app/src/main/java/be/re/writand/data/repos/projects/ProjectsRepository.kt @@ -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 diff --git a/app/src/main/java/be/re/writand/di/DatabaseModule.kt b/app/src/main/java/be/re/writand/di/DatabaseModule.kt index 1b321e2..1a99ab2 100644 --- a/app/src/main/java/be/re/writand/di/DatabaseModule.kt +++ b/app/src/main/java/be/re/writand/di/DatabaseModule.kt @@ -22,7 +22,7 @@ class DatabaseModule { return ProjectsDatabase.getInstance(context) } @Provides - fun provideQuotesDao(projectsDatabase: ProjectsDatabase): ProjectsDao { + fun provideProjectsDao(projectsDatabase: ProjectsDatabase): ProjectsDao { return projectsDatabase.projectsDao() }