mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 21:01:34 +08:00
refactor: circular deps part 8
This commit is contained in:
@ -173,7 +173,7 @@ function getRootViewController(): UIViewController {
|
||||
return vc;
|
||||
}
|
||||
|
||||
function getWindow(): UIWindow {
|
||||
export function getWindow(): UIWindow {
|
||||
let window: UIWindow;
|
||||
if (SDK_VERSION >= 15 && typeof NativeScriptViewFactory !== 'undefined') {
|
||||
// UIWindowScene.keyWindow is only available 15+
|
||||
|
Reference in New Issue
Block a user