Do I have to do anything special to be able to imp...
# compose-desktop
m
Do I have to do anything special to be able to import
androidx.compose.desktop.DesktopMaterialTheme
?
i
It should work out of the box
Copy code
fun main() = Window {
    DesktopMaterialTheme {
        MainView()
    }
}
And you can use androidx.compose.desktop.DesktopMaterialTheme only from desktop sourceSet (not from Android or common sourceSet)
m
I am not working on a Multiplatform project, just a simple project with one sourceset, using version
0.1.0-build63
of jetbrains compose
DesktopMaterialTheme seems to not be available
i
Use "0.1.0-m1-build62". It is the latest version