Minor UI changes (#75)

* Revert transparent cards from #61
* Don't show queue during playback if playing the final item
* Fix nav drawer collection page from showing everything recursively
* Immediately hide the skip intro button when pressed
This commit is contained in:
damontecres 2025-10-27 10:17:50 -04:00 committed by GitHub
parent 89b9364807
commit 1a7684b458
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 4 additions and 4 deletions

View file

@ -24,7 +24,7 @@ class Playlist(
fun hasPrevious(): Boolean = index > 0
fun hasNext(): Boolean = index < items.size
fun hasNext(): Boolean = (index + 1) < items.size
fun getPreviousAndReverse(): BaseItem = items[--index]

View file

@ -21,7 +21,6 @@ import androidx.compose.runtime.setValue
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.draw.clip
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.RectangleShape
import androidx.compose.ui.layout.ContentScale
import androidx.compose.ui.text.style.TextAlign
@ -62,7 +61,7 @@ fun BannerCard(
interactionSource = interactionSource,
colors =
CardDefaults.colors(
containerColor = Color.Transparent,
// containerColor = Color.Transparent,
),
) {
Box(

View file

@ -124,7 +124,7 @@ fun DestinationContent(
preferences,
destination.itemId,
destination.item,
true,
false,
modifier,
)

View file

@ -392,6 +392,7 @@ fun PlaybackPage(
}
Button(
onClick = {
segmentCancelled = true
player.seekTo(segment.endTicks.ticks.inWholeMilliseconds)
},
modifier = Modifier.focusRequester(focusRequester),