A music player that connects to your cloud/distributed storage.
5
fork

Configure Feed

Select the types of activity you want to include in your feed.

Up next placeholder

+26 -12
+26 -12
src/Applications/UI/Queue.elm
··· 396 396 ----------------------------------------- 397 397 -- Content 398 398 ----------------------------------------- 399 - , UI.Kit.canister 400 - [ UI.Kit.h1 "Up next" 401 - , model.future 402 - |> List.indexedMap futureItem 403 - |> UI.List.view 404 - (UI.List.Draggable 405 - { model = model.dnd 406 - , toMsg = DragMsg 407 - } 408 - ) 409 - |> chunky [ T.mt3 ] 410 - ] 399 + , if List.isEmpty model.future then 400 + UI.Kit.centeredContent 401 + [ chunk 402 + [ T.o_30 ] 403 + [ fromUnstyled (Icons.music_note 64 Inherit) ] 404 + , chunk 405 + [ T.lh_copy, T.mt2, T.o_40, T.tc ] 406 + [ text "Nothing here yet," 407 + , lineBreak 408 + , text "add some music first." 409 + ] 410 + ] 411 + 412 + else 413 + UI.Kit.canister 414 + [ UI.Kit.h1 "Up next" 415 + , model.future 416 + |> List.indexedMap futureItem 417 + |> UI.List.view 418 + (UI.List.Draggable 419 + { model = model.dnd 420 + , toMsg = DragMsg 421 + } 422 + ) 423 + |> chunky [ T.mt3 ] 424 + ] 411 425 ] 412 426 413 427