mirror of
https://github.com/bitwarden/mobile
synced 2025-12-20 02:03:49 +00:00
Changed all C# control flow block statements to include space between keyword and open paren (#800)
This commit is contained in:
@@ -51,10 +51,10 @@ namespace Bit.Core.Models.View
|
||||
{
|
||||
get
|
||||
{
|
||||
if(_domain == null && Uri != null)
|
||||
if (_domain == null && Uri != null)
|
||||
{
|
||||
_domain = CoreHelpers.GetDomain(Uri);
|
||||
if(_domain == string.Empty)
|
||||
if (_domain == string.Empty)
|
||||
{
|
||||
_domain = null;
|
||||
}
|
||||
@@ -67,10 +67,10 @@ namespace Bit.Core.Models.View
|
||||
{
|
||||
get
|
||||
{
|
||||
if(_hostname == null && Uri != null)
|
||||
if (_hostname == null && Uri != null)
|
||||
{
|
||||
_hostname = CoreHelpers.GetHostname(Uri);
|
||||
if(_hostname == string.Empty)
|
||||
if (_hostname == string.Empty)
|
||||
{
|
||||
_hostname = null;
|
||||
}
|
||||
@@ -88,11 +88,11 @@ namespace Bit.Core.Models.View
|
||||
{
|
||||
get
|
||||
{
|
||||
if(_canLaunch != null)
|
||||
if (_canLaunch != null)
|
||||
{
|
||||
return _canLaunch.Value;
|
||||
}
|
||||
if(Uri != null && Match != UriMatchType.RegularExpression)
|
||||
if (Uri != null && Match != UriMatchType.RegularExpression)
|
||||
{
|
||||
var uri = LaunchUri;
|
||||
_canLaunch = _canLaunchWhitelist.Any(prefix => uri.StartsWith(prefix));
|
||||
|
||||
Reference in New Issue
Block a user