Remove println
This commit is contained in:
parent
4fbadc7c1e
commit
490d2d686d
1 changed files with 0 additions and 6 deletions
|
@ -39,7 +39,6 @@ import it.vfsfitvnm.vimusic.R
|
||||||
import it.vfsfitvnm.vimusic.enums.SongSortBy
|
import it.vfsfitvnm.vimusic.enums.SongSortBy
|
||||||
import it.vfsfitvnm.vimusic.enums.SortOrder
|
import it.vfsfitvnm.vimusic.enums.SortOrder
|
||||||
import it.vfsfitvnm.vimusic.models.Song
|
import it.vfsfitvnm.vimusic.models.Song
|
||||||
import it.vfsfitvnm.vimusic.query
|
|
||||||
import it.vfsfitvnm.vimusic.ui.components.LocalMenuState
|
import it.vfsfitvnm.vimusic.ui.components.LocalMenuState
|
||||||
import it.vfsfitvnm.vimusic.ui.components.themed.FloatingActionsContainerWithScrollToTop
|
import it.vfsfitvnm.vimusic.ui.components.themed.FloatingActionsContainerWithScrollToTop
|
||||||
import it.vfsfitvnm.vimusic.ui.components.themed.Header
|
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.semiBold
|
||||||
import it.vfsfitvnm.vimusic.utils.songSortByKey
|
import it.vfsfitvnm.vimusic.utils.songSortByKey
|
||||||
import it.vfsfitvnm.vimusic.utils.songSortOrderKey
|
import it.vfsfitvnm.vimusic.utils.songSortOrderKey
|
||||||
import kotlin.system.measureTimeMillis
|
|
||||||
import kotlinx.coroutines.flow.first
|
|
||||||
|
|
||||||
@ExperimentalFoundationApi
|
@ExperimentalFoundationApi
|
||||||
@ExperimentalAnimationApi
|
@ExperimentalAnimationApi
|
||||||
|
@ -81,9 +78,6 @@ fun HomeSongs(
|
||||||
var items by persistList<Song>("home/songs")
|
var items by persistList<Song>("home/songs")
|
||||||
|
|
||||||
LaunchedEffect(sortBy, sortOrder) {
|
LaunchedEffect(sortBy, sortOrder) {
|
||||||
// 670, 58, 97, 91, 94
|
|
||||||
println("took ${measureTimeMillis { Database.songs(sortBy, sortOrder).first() }}ms")
|
|
||||||
|
|
||||||
Database.songs(sortBy, sortOrder).collect { items = it }
|
Database.songs(sortBy, sortOrder).collect { items = it }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue