From f2ab436c54a452d0c6264a8fdc16e80c0a4bbd03 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Fri, 7 Oct 2022 19:11:06 +0530 Subject: feat(app): make `DecryptScreen` properly standalone --- .../src/main/kotlin/app/passwordstore/ui/compose/theme/Theme.kt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ui-compose/src/main') diff --git a/ui-compose/src/main/kotlin/app/passwordstore/ui/compose/theme/Theme.kt b/ui-compose/src/main/kotlin/app/passwordstore/ui/compose/theme/Theme.kt index 695ff6cc..b11aa7c1 100644 --- a/ui-compose/src/main/kotlin/app/passwordstore/ui/compose/theme/Theme.kt +++ b/ui-compose/src/main/kotlin/app/passwordstore/ui/compose/theme/Theme.kt @@ -70,3 +70,8 @@ public fun APSTheme( ) { MaterialTheme(colorScheme = colors, typography = AppTypography, content = content) } + +@Composable +public fun APSThemePreview(content: @Composable () -> Unit) { + MaterialTheme(colorScheme = LightThemeColors, typography = AppTypography, content = content) +} -- cgit v1.2.3