diff --git a/composeApp/src/commonMain/kotlin/app/academy/model/Note.kt b/composeApp/src/commonMain/kotlin/app/academy/model/Note.kt index bc6e3e5..bb46b9a 100644 --- a/composeApp/src/commonMain/kotlin/app/academy/model/Note.kt +++ b/composeApp/src/commonMain/kotlin/app/academy/model/Note.kt @@ -46,7 +46,6 @@ val dummyNotes = listOf( /** * Used to convert a [SavedNoteEntity] to a [Note]. - */ fun SavedNoteEntity.toNote(): Note { return Note( diff --git a/composeApp/src/commonMain/kotlin/app/academy/ui/HomeScreen.kt b/composeApp/src/commonMain/kotlin/app/academy/ui/HomeScreen.kt index 60e91a6..28e40a7 100644 --- a/composeApp/src/commonMain/kotlin/app/academy/ui/HomeScreen.kt +++ b/composeApp/src/commonMain/kotlin/app/academy/ui/HomeScreen.kt @@ -12,7 +12,7 @@ object HomeScreen : Screen { @Composable override fun Content() { LazyColumn(Modifier.fillMaxSize()) { - NoteItems(dummyNotes, onClick = {}) { + NoteItems(emptyList(), onClick = {}) { //onDismissed } }