mirror of
https://github.com/bitwarden/mobile
synced 2026-01-01 08:03:37 +00:00
show launch fixes
This commit is contained in:
@@ -109,7 +109,25 @@ namespace Bit.App.Models.Page
|
||||
}
|
||||
}
|
||||
public bool ShowUri => !string.IsNullOrWhiteSpace(Uri);
|
||||
public bool ShowLaunch => Uri.StartsWith("http://") || Uri.StartsWith("https://");
|
||||
|
||||
public bool ShowLaunch
|
||||
{
|
||||
get
|
||||
{
|
||||
if(!ShowUri)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
Uri uri;
|
||||
if(!System.Uri.TryCreate(Uri, UriKind.Absolute, out uri))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
public string UriHost
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user