fix: check is disposed fragment is in the FragmentManager (#8201)

This commit is contained in:
Alexander Vakrilov
2019-12-17 12:04:32 +02:00
committed by GitHub
parent d1858f81b7
commit 4b00376957
3 changed files with 15 additions and 10 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;