diff --git a/app/src/main/kotlin/it/vfsfitvnm/vimusic/ui/screens/home/HomeSongs.kt b/app/src/main/kotlin/it/vfsfitvnm/vimusic/ui/screens/home/HomeSongs.kt index f395798..c0f6ebb 100644 --- a/app/src/main/kotlin/it/vfsfitvnm/vimusic/ui/screens/home/HomeSongs.kt +++ b/app/src/main/kotlin/it/vfsfitvnm/vimusic/ui/screens/home/HomeSongs.kt @@ -39,7 +39,6 @@ import it.vfsfitvnm.vimusic.R import it.vfsfitvnm.vimusic.enums.SongSortBy import it.vfsfitvnm.vimusic.enums.SortOrder import it.vfsfitvnm.vimusic.models.Song -import it.vfsfitvnm.vimusic.query import it.vfsfitvnm.vimusic.ui.components.LocalMenuState import it.vfsfitvnm.vimusic.ui.components.themed.FloatingActionsContainerWithScrollToTop import it.vfsfitvnm.vimusic.ui.components.themed.Header @@ -59,8 +58,6 @@ import it.vfsfitvnm.vimusic.utils.rememberPreference import it.vfsfitvnm.vimusic.utils.semiBold import it.vfsfitvnm.vimusic.utils.songSortByKey import it.vfsfitvnm.vimusic.utils.songSortOrderKey -import kotlin.system.measureTimeMillis -import kotlinx.coroutines.flow.first @ExperimentalFoundationApi @ExperimentalAnimationApi @@ -81,9 +78,6 @@ fun HomeSongs( var items by persistList("home/songs") LaunchedEffect(sortBy, sortOrder) { - // 670, 58, 97, 91, 94 - println("took ${measureTimeMillis { Database.songs(sortBy, sortOrder).first() }}ms") - Database.songs(sortBy, sortOrder).collect { items = it } }