mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Fix build issue
This commit is contained in:
parent
54c2cd13f6
commit
c001041ba8
2 changed files with 6 additions and 7 deletions
|
|
@ -309,14 +309,14 @@ namespace Flow.Launcher.Plugin
|
|||
/// Opens the URL using the browser with the given Uri object, even if the URL is a local file.
|
||||
/// The browser and mode used is based on what's configured in Flow's default browser settings.
|
||||
/// </summary>
|
||||
public void OpenWebUrl(Uri url, bool? inPrivate = null, bool forceBrower = false);
|
||||
public void OpenWebUrl(Uri url, bool? inPrivate = null);
|
||||
|
||||
/// <summary>
|
||||
/// Opens the URL using the browser with the given string, even if the URL is a local file.
|
||||
/// The browser and mode used is based on what's configured in Flow's default browser settings.
|
||||
/// Non-C# plugins should use this method.
|
||||
/// </summary>
|
||||
public void OpenWebUrl(string url, bool? inPrivate = null, bool forceBrower = false);
|
||||
public void OpenWebUrl(string url, bool? inPrivate = null);
|
||||
|
||||
/// <summary>
|
||||
/// Opens the URL with the given Uri object.
|
||||
|
|
|
|||
|
|
@ -390,7 +390,6 @@ namespace Flow.Launcher
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
private void OpenUri(Uri uri, bool? inPrivate = null, bool forceBrower = false)
|
||||
{
|
||||
if (forceBrower || uri.Scheme == Uri.UriSchemeHttp || uri.Scheme == Uri.UriSchemeHttps)
|
||||
|
|
@ -420,14 +419,14 @@ namespace Flow.Launcher
|
|||
}
|
||||
}
|
||||
|
||||
public void OpenUrl(string url, bool? inPrivate = null, bool forceBrower = false)
|
||||
public void OpenWebUrl(string url, bool? inPrivate = null)
|
||||
{
|
||||
OpenUri(new Uri(url), inPrivate, forceBrower);
|
||||
OpenUri(new Uri(url), inPrivate, true);
|
||||
}
|
||||
|
||||
public void OpenUrl(Uri url, bool? inPrivate = null, bool forceBrower = false)
|
||||
public void OpenWebUrl(Uri url, bool? inPrivate = null)
|
||||
{
|
||||
OpenUri(url, inPrivate, forceBrower);
|
||||
OpenUri(url, inPrivate, true);
|
||||
}
|
||||
|
||||
public void OpenUrl(string url, bool? inPrivate = null)
|
||||
|
|
|
|||
Loading…
Reference in a new issue