From 38559e44ecf407d19b924d914d5873c76410d4e1 Mon Sep 17 00:00:00 2001 From: ashiagr Date: Fri, 21 Oct 2022 12:57:00 +0530 Subject: [PATCH] Use AppTheme in preview --- .../au/com/shiftyjelly/pocketcasts/endofyear/StoriesScreen.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/features/endofyear/src/main/java/au/com/shiftyjelly/pocketcasts/endofyear/StoriesScreen.kt b/modules/features/endofyear/src/main/java/au/com/shiftyjelly/pocketcasts/endofyear/StoriesScreen.kt index 0fd646b50ef..c73a284ecb1 100644 --- a/modules/features/endofyear/src/main/java/au/com/shiftyjelly/pocketcasts/endofyear/StoriesScreen.kt +++ b/modules/features/endofyear/src/main/java/au/com/shiftyjelly/pocketcasts/endofyear/StoriesScreen.kt @@ -31,7 +31,7 @@ import androidx.compose.ui.res.stringResource import androidx.compose.ui.tooling.preview.Preview import androidx.compose.ui.tooling.preview.PreviewParameter import androidx.compose.ui.unit.dp -import au.com.shiftyjelly.pocketcasts.compose.AppThemeWithBackground +import au.com.shiftyjelly.pocketcasts.compose.AppTheme import au.com.shiftyjelly.pocketcasts.compose.bars.NavigationButton import au.com.shiftyjelly.pocketcasts.compose.buttons.RowOutlinedButton import au.com.shiftyjelly.pocketcasts.compose.preview.ThemePreviewParameterProvider @@ -133,7 +133,7 @@ private fun CloseButtonView( private fun StoriesScreenPreview( @PreviewParameter(ThemePreviewParameterProvider::class) themeType: Theme.ThemeType, ) { - AppThemeWithBackground(themeType) { + AppTheme(themeType) { StoriesScreen( onCloseClicked = {} )