Skip to content

Commit

Permalink
Use AppTheme in preview
Browse files Browse the repository at this point in the history
  • Loading branch information
ashiagr committed Oct 21, 2022
1 parent 8d47536 commit 38559e4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -133,7 +133,7 @@ private fun CloseButtonView(
private fun StoriesScreenPreview(
@PreviewParameter(ThemePreviewParameterProvider::class) themeType: Theme.ThemeType,
) {
AppThemeWithBackground(themeType) {
AppTheme(themeType) {
StoriesScreen(
onCloseClicked = {}
)
Expand Down

0 comments on commit 38559e4

Please sign in to comment.