I'm facing some weird issue that i'm able to impor...
# compose
l
I'm facing some weird issue that i'm able to import desktop dependencies, for example
import androidx.compose.ui.window.rememberDialogState
on the common source set (android + desktop) My build gradle is pretty standard,
Copy code
val commonMain by getting {
    dependencies {
        api(compose.runtime)
        api(compose.foundation)
        api(compose.material3)
        api(compose.materialIconsExtended)
    }
}

  val desktopMain by getting {
            dependencies {
                implementation(compose.materialIconsExtended)
                implementation(compose.desktop.currentOs)
                implementation(compose.desktop.components.splitPane)
       }
}
     val androidMain by getting {
            dependencies {
                api("androidx.activity:activity-compose:1.6.1")
                api("androidx.appcompat:appcompat:1.6.1")
                api("androidx.core:core-ktx:1.10.1")
}
}
Not sure if i'm doing something wrong or if it is an IDE issue
I dont remember if this was happening in other projects also
Also some other weird stuff such as Timestamp.from(Instant.now()) returns a date in android source and a timestamp in common/desktop