mirror of
https://github.com/bitwarden/mobile
synced 2025-12-14 07:13:33 +00:00
only parse list as URL if dict case fails
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user