1
Fork 0
mirror of https://github.com/Steffo99/twom.git synced 2024-11-25 01:24:24 +00:00

Preview AvatarEmpty at different font scales

This commit is contained in:
Steffo 2024-01-13 11:01:29 +01:00
parent 22f0d0fc8c
commit e4a9d40fa1
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0

View file

@ -11,7 +11,9 @@ import androidx.compose.ui.Modifier
import androidx.compose.ui.tooling.preview.Preview
@Composable
@Preview(widthDp = 40, heightDp = 40)
@Preview(name = "Regular", widthDp = 40, heightDp = 40)
@Preview(name = "Double font scale", widthDp = 40, heightDp = 40, fontScale = 2f)
@Preview(name = "Quadruple font scale", widthDp = 40, heightDp = 40, fontScale = 4f)
fun AvatarEmpty(
modifier: Modifier = Modifier,
text: String? = null,