File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
app/src/main/java/dev/davwheat/railway/gateline_errors/composable Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,8 @@ import androidx.compose.ui.Alignment
32
32
import androidx.compose.ui.Modifier
33
33
import androidx.compose.ui.layout.onGloballyPositioned
34
34
import androidx.compose.ui.platform.LocalDensity
35
- import androidx.compose.ui.tooling.preview.Preview
35
+ import androidx.compose.ui.tooling.preview.PreviewDynamicColors
36
+ import androidx.compose.ui.tooling.preview.PreviewLightDark
36
37
import androidx.compose.ui.unit.dp
37
38
import dev.davwheat.railway.gateline_errors.ui.theme.AppTheme
38
39
@@ -130,8 +131,9 @@ fun MainUi(modifier: Modifier = Modifier, showAds: Boolean) {
130
131
}
131
132
}
132
133
133
- @Preview
134
134
@Composable
135
+ @PreviewLightDark
136
+ @PreviewDynamicColors
135
137
private fun MainUiPreview () {
136
138
AppTheme { MainUi (showAds = false ) }
137
139
}
You can’t perform that action at this time.
0 commit comments