From 9871c40dde8ad559b7774cd6bf4858fb82ee662c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wolf-Martell=20Montw=C3=A9?= Date: Thu, 25 Jan 2024 11:06:22 +0100 Subject: [PATCH] Add small phone preview --- .../k9mail/core/ui/compose/common/annotation/PreviewDevices.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/core/ui/compose/common/src/main/kotlin/app/k9mail/core/ui/compose/common/annotation/PreviewDevices.kt b/core/ui/compose/common/src/main/kotlin/app/k9mail/core/ui/compose/common/annotation/PreviewDevices.kt index 3f5e3e7e6..cf2a9c4b0 100644 --- a/core/ui/compose/common/src/main/kotlin/app/k9mail/core/ui/compose/common/annotation/PreviewDevices.kt +++ b/core/ui/compose/common/src/main/kotlin/app/k9mail/core/ui/compose/common/annotation/PreviewDevices.kt @@ -8,6 +8,7 @@ import androidx.compose.ui.tooling.preview.Preview * * It's used to provide previews for a set of different devices and form factors. */ +@Preview(name = "Small phone", device = "spec:shape=Normal,width=360,height=640,unit=dp,dpi=160") @Preview(name = "Phone", device = Devices.PHONE) @Preview(name = "Phone landscape", device = "spec:shape=Normal,width=891,height=411,unit=dp,dpi=420") @Preview(name = "Foldable", device = Devices.FOLDABLE)