mirror of
https://github.com/bitwarden/mobile
synced 2024-12-28 09:42:08 +01:00
autofill listing page name for android app fixes
This commit is contained in:
parent
2d6895aeea
commit
6e16ffe05f
@ -31,13 +31,14 @@ namespace Bit.App.Pages
|
||||
|
||||
Uri uri;
|
||||
DomainName domainName;
|
||||
if(!System.Uri.TryCreate(uriString, UriKind.Absolute, out uri) ||
|
||||
if(uriString?.StartsWith(Constants.AndroidAppProtocol) ?? false)
|
||||
{
|
||||
_name = uriString.Substring(Constants.AndroidAppProtocol.Length);
|
||||
}
|
||||
else if(!System.Uri.TryCreate(uriString, UriKind.Absolute, out uri) ||
|
||||
!DomainName.TryParse(uri.Host, out domainName))
|
||||
{
|
||||
if(uriString != null && uriString.StartsWith(Constants.AndroidAppProtocol))
|
||||
{
|
||||
_name = uriString.Substring(Constants.AndroidAppProtocol.Length);
|
||||
}
|
||||
_name = "--";
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user