nativescript-imagepicker
Advanced tools
Comparing version 6.0.5 to 6.0.6
@@ -48,3 +48,9 @@ "use strict"; | ||
get: function () { | ||
return this.hostView ? this.hostView.viewController : UIApplication.sharedApplication.keyWindow.rootViewController; | ||
var vc = this.hostView ? this.hostView.viewController : UIApplication.sharedApplication.keyWindow.rootViewController; | ||
while (vc.presentedViewController | ||
&& vc.presentedViewController.viewLoaded | ||
&& vc.presentedViewController.view.window) { | ||
vc = vc.presentedViewController; | ||
} | ||
return vc; | ||
}, | ||
@@ -51,0 +57,0 @@ enumerable: true, |
{ | ||
"name": "nativescript-imagepicker", | ||
"version": "6.0.5", | ||
"version": "6.0.6", | ||
"description": "A plugin for the NativeScript framework implementing multiple image picker", | ||
@@ -49,4 +49,4 @@ "repository": { | ||
"devDependencies": { | ||
"tns-core-modules": "^5.0.0", | ||
"tns-platform-declarations": "^5.0.0", | ||
"tns-core-modules": "^5.1.0", | ||
"tns-platform-declarations": "^5.1.0", | ||
"typescript": "~3.1.6", | ||
@@ -53,0 +53,0 @@ "tslint": "~5.11.0" |
49687
495