mirror of
https://github.com/bitwarden/android.git
synced 2024-12-24 01:48:25 +03:00
autofill listing page name for android app fixes
This commit is contained in:
parent
2d6895aeea
commit
6e16ffe05f
1 changed files with 6 additions and 5 deletions
|
@ -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 a new issue