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