Skip to content

Commit f4957c2

Browse files
Fix pagination (#21)
1 parent e1e1eec commit f4957c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dashboard/src/main/java/com/raccoongang/dashboard/presentation/DashboardViewModel.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ class DashboardViewModel(
131131
if (coursesList.isEmpty()) {
132132
_uiState.value = DashboardUIState.Empty
133133
} else {
134-
_uiState.value = DashboardUIState.Courses(coursesList)
134+
_uiState.value = DashboardUIState.Courses(ArrayList(coursesList))
135135
}
136136
} catch (e: Exception) {
137137
e.printStackTrace()

0 commit comments

Comments
 (0)