Skip to content

Commit 4e36003

Browse files
committed
TaskRepository: Remove unused queryTasks method
1 parent 9838e2d commit 4e36003

File tree

1 file changed

+0
-3
lines changed
  • features/tasks/data/src/main/kotlin/com/edricchan/studybuddy/features/tasks/data/repo

1 file changed

+0
-3
lines changed

features/tasks/data/src/main/kotlin/com/edricchan/studybuddy/features/tasks/data/repo/TaskRepository.kt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@ class TaskRepository @Inject constructor(
2020
@OptIn(ExperimentalCoroutinesApi::class)
2121
val tasksFlow: Flow<List<TodoItem>> = source.items
2222

23-
/** Retrieves the user's list of tasks given the specified [query]. */
24-
suspend fun queryTasks(query: QueryMapper): List<TodoItem> = source.findAll(query).first()
25-
2623
/** Retrieves the user's list of tasks given the specified [query] as a [Flow]. */
2724
@OptIn(ExperimentalCoroutinesApi::class)
2825
fun observeQueryTasks(query: QueryMapper): Flow<List<TodoItem>> = source.findAll(query)

0 commit comments

Comments
 (0)