mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 20:11:24 +08:00
refactor: clean up unused sdkVersion lazy eval (#6194)
This commit is contained in:
@ -22,9 +22,6 @@ import { profile } from "../../profiling";
|
||||
// TODO: Remove this and get it from global to decouple builder for angular
|
||||
import { createViewFromEntry } from "../builder";
|
||||
|
||||
import { device } from "../../platform";
|
||||
import lazy from "../../utils/lazy";
|
||||
|
||||
export * from "./frame-common";
|
||||
|
||||
const INTENT_EXTRA = "com.tns.activity";
|
||||
@ -35,8 +32,6 @@ const CALLBACKS = "_callbacks";
|
||||
const ownerSymbol = Symbol("_owner");
|
||||
const activityRootViewsMap = new Map<number, WeakRef<View>>();
|
||||
|
||||
const sdkVersion = lazy(() => parseInt(device.sdkVersion));
|
||||
|
||||
let navDepth = -1;
|
||||
let fragmentId = -1;
|
||||
export let moduleLoaded: boolean;
|
||||
|
Reference in New Issue
Block a user