Open schott12521 opened 2 days ago
Okay here's what I think is a better representation of the issue, this is my theme:
@Composable
@OptIn(ExperimentalAdaptiveApi::class)
fun AppTheme(
content: @Composable () -> Unit
) {
AdaptiveTheme(
material = MaterialThemeSpec.Default(),
cupertino = CupertinoThemeSpec.Default(
colorScheme = darkColorScheme()
),
content = content
)
}
And this is how its appearing for me:
Here we can see that something doesn't look exactly right, but I'm probably doing something wrong!
I'm using both this guide and the example to try and build the exact same application as the guide, a KMP project that has 2 tabs and a couple components.
On Android everything looks great, very material. On iOS, I see this, it's like a mix between material and cupertino?
My code is more or less exactly as the example/guide, from what I can tell:
which is used here:
and finally, my actual definition for iOS:
For clarity, the issue is that beyond the "Click me!" buttons, the rest of the UI elements on screen appear to be in Material as opposed to Cupertino; although the theme is properly set to Cupertino.
For reference, this is on version:
0.1.0-alpha04
I'm loving the library, thank you for making this.