Improve preview
This commit is contained in:
parent
ff3355f453
commit
dedfaa998f
1 changed files with 2 additions and 2 deletions
|
|
@ -13,7 +13,7 @@ open class MediaPlayerControllerStateProvider : PreviewParameterProvider<MediaPl
|
||||||
override val values: Sequence<MediaPlayerControllerState> = sequenceOf(
|
override val values: Sequence<MediaPlayerControllerState> = sequenceOf(
|
||||||
aMediaPlayerControllerState(),
|
aMediaPlayerControllerState(),
|
||||||
aMediaPlayerControllerState(
|
aMediaPlayerControllerState(
|
||||||
isPlaying = false,
|
isPlaying = true,
|
||||||
progressInMillis = 59_000,
|
progressInMillis = 59_000,
|
||||||
durationInMillis = 83_000,
|
durationInMillis = 83_000,
|
||||||
isMuted = true,
|
isMuted = true,
|
||||||
|
|
@ -23,7 +23,7 @@ open class MediaPlayerControllerStateProvider : PreviewParameterProvider<MediaPl
|
||||||
|
|
||||||
private fun aMediaPlayerControllerState(
|
private fun aMediaPlayerControllerState(
|
||||||
isVisible: Boolean = true,
|
isVisible: Boolean = true,
|
||||||
isPlaying: Boolean = true,
|
isPlaying: Boolean = false,
|
||||||
progressInMillis: Long = 0,
|
progressInMillis: Long = 0,
|
||||||
// Default to 1 minute and 23 seconds
|
// Default to 1 minute and 23 seconds
|
||||||
durationInMillis: Long = 83_000,
|
durationInMillis: Long = 83_000,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue