diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2022-10-07 19:11:06 +0530 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2022-10-07 19:11:06 +0530 |
commit | f2ab436c54a452d0c6264a8fdc16e80c0a4bbd03 (patch) | |
tree | e47c3af9c204669953d49575b1b86ea69ba3f5d4 /ui-compose | |
parent | cb373db35d3bb9b1beeae07e9d16c30e9b197c10 (diff) |
feat(app): make `DecryptScreen` properly standalone
Diffstat (limited to 'ui-compose')
-rw-r--r-- | ui-compose/src/main/kotlin/app/passwordstore/ui/compose/theme/Theme.kt | 5 |
1 files changed, 5 insertions, 0 deletions
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) +} |