diff --git a/modules/views-dsl/src/androidMain/AndroidManifest.xml b/modules/views-dsl/src/androidMain/AndroidManifest.xml new file mode 100644 index 000000000..76c66d405 --- /dev/null +++ b/modules/views-dsl/src/androidMain/AndroidManifest.xml @@ -0,0 +1,5 @@ + + + diff --git a/modules/views-dsl/src/androidMain/kotlin/splitties/views/dsl/Preview.kt b/modules/views-dsl/src/androidMain/kotlin/splitties/views/dsl/Preview.kt index 905670797..222a73576 100644 --- a/modules/views-dsl/src/androidMain/kotlin/splitties/views/dsl/Preview.kt +++ b/modules/views-dsl/src/androidMain/kotlin/splitties/views/dsl/Preview.kt @@ -5,6 +5,7 @@ package splitties.views.dsl import android.view.View +import splitties.views.dsl.core.BuildConfig import splitties.views.dsl.core.Ui val View.isInPreview: Boolean diff --git a/modules/views-dsl/src/androidMain/kotlin/splitties/views/dsl/idepreview/UiPreView.kt b/modules/views-dsl/src/androidMain/kotlin/splitties/views/dsl/idepreview/UiPreView.kt index 7c8257ca9..08edcb5cb 100644 --- a/modules/views-dsl/src/androidMain/kotlin/splitties/views/dsl/idepreview/UiPreView.kt +++ b/modules/views-dsl/src/androidMain/kotlin/splitties/views/dsl/idepreview/UiPreView.kt @@ -30,7 +30,7 @@ import kotlin.contracts.InvocationKind import kotlin.contracts.contract import kotlin.coroutines.CoroutineContext import kotlin.coroutines.EmptyCoroutineContext -import splitties.views.dsl.R +import splitties.views.dsl.core.R /** * This class is dedicated to previewing `Ui` subclasses in the IDE.