youssef
02/16/2024, 10:00 AMexpect fun Scope.isScreenLandscape(): Boolean
i used Scope so i could get the androidContext now in my ui i ran into this problem
var isScreenLandscape by remember() { mutableStateOf(false) }
KoinContext {
val screenOrientation = getKoin().getScope("").isScreenLandscape()
isScreenLandscape = screenOrientation
}
to get the scope i need an Id , how can i asign that Id ?