1
0
Fork 0
mirror of https://github.com/HenkKalkwater/harbour-sailfin.git synced 2025-09-05 18:22:46 +00:00

Small UI modifications

* Fixed pulleyindicator staying busy in collectionpage
* PlaybackBar now correctly disables next/previous buttons
* AppWindow now handles the pushing for pages when an items needs to be
  visited.
* Clicking on an item of type audio now starts the audio player
This commit is contained in:
Chris Josten 2021-09-10 03:08:40 +02:00
parent 5d521ee189
commit 40d8a58a5a
No known key found for this signature in database
GPG key ID: A69C050E9FD9FF6A
7 changed files with 35 additions and 17 deletions

View file

@ -58,7 +58,7 @@ BaseDetailPage {
text: qsTr("Sort by")
onClicked: pageStack.push(sortPageComponent)
}
busy: collectionModel.status === J.UserItemsLoader.Loading
busy: collectionModel.status === J.ModelStatus.Loading
}
delegate: GridItem {
RemoteImage {
@ -94,7 +94,7 @@ BaseDetailPage {
horizontalAlignment: Text.AlignLeft
font.pixelSize: Theme.fontSizeSmall
}
onClicked: pageStack.push(Utils.getPageUrl(model.mediaType, model.type, model.isFolder), {"itemId": model.jellyfinId})
onClicked: appWindow.navigateToItem(model.jellyfinId, model.mediaType, model.type, model.isFolder);
}
ViewPlaceholder {