Skip to content

Commit

Permalink
windowInfo.isWindowFocused = true
Browse files Browse the repository at this point in the history
  • Loading branch information
dima-avdeev-jb committed Dec 8, 2023
1 parent ec3e451 commit 441d0bd
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,9 @@ internal class ComposeContainer(
)
val systemThemeState: MutableState<SystemTheme> = mutableStateOf(SystemTheme.Unknown)
val focusStack: FocusStack<UIView> = FocusStackImpl()
private val windowInfo = WindowInfoImpl()
private val windowInfo = WindowInfoImpl().also {
it.isWindowFocused = true
}

/*
* On iOS >= 13.0 interfaceOrientation will be deduced from [UIWindowScene] of [UIWindow]
Expand Down

0 comments on commit 441d0bd

Please sign in to comment.