fix: check is disposed fragment is in fragmentMngr

This commit is contained in:
vakrilov
2019-12-04 14:24:37 +02:00
parent f5d6e4f5ed
commit a75397af20
2 changed files with 28 additions and 7 deletions

View File

@ -6,8 +6,6 @@ import {
export { ios };
export * from "./utils-common";
let mainScreenScale;
export function openFile(filePath: string): boolean {
try {
const appPath = ios.getCurrentAppPath();
@ -47,5 +45,3 @@ export function openUrl(location: string): boolean {
return false;
}
mainScreenScale = UIScreen.mainScreen.scale;