Replace values() by entries
This commit is contained in:
parent
8281a9d8ce
commit
6161e20f6c
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ import androidx.compose.ui.tooling.preview.PreviewParameterProvider
|
|||
|
||||
open class AvatarDataProvider : PreviewParameterProvider<AvatarData> {
|
||||
override val values: Sequence<AvatarData>
|
||||
get() = AvatarSize.values()
|
||||
get() = AvatarSize.entries
|
||||
.asSequence()
|
||||
.map {
|
||||
sequenceOf(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue