From 0684dfe869c88356ff2d833090f3a6e309fba928 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Mon, 24 Apr 2017 22:22:12 -0400 Subject: [PATCH] only parse list as URL if dict case fails --- src/iOS.Extension/LoadingViewController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/iOS.Extension/LoadingViewController.cs b/src/iOS.Extension/LoadingViewController.cs index aa43a6e60..7bf7df141 100644 --- a/src/iOS.Extension/LoadingViewController.cs +++ b/src/iOS.Extension/LoadingViewController.cs @@ -327,13 +327,13 @@ namespace Bit.iOS.Extension _context.ProviderType = type; var dict = list as NSDictionary; - var url = list as NSUrl; if(dict != null && dictAction != null) { dictAction(dict); } - else if(url != null && urlAction != null) + else if(list is NSUrl && urlAction != null) { + var url = list as NSUrl; urlAction(url); } else