From 490d2d686db8e1b8c678387a5d1c5dd4c067fa0d Mon Sep 17 00:00:00 2001 From: vfsfitvnm Date: Tue, 1 Nov 2022 08:49:32 +0100 Subject: [PATCH] Remove println --- .../it/vfsfitvnm/vimusic/ui/screens/home/HomeSongs.kt | 6 ------ 1 file changed, 6 deletions(-) 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 } }