Skip to content

Commit c001041

Browse files
committed
Fix build issue
1 parent 54c2cd1 commit c001041

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -309,14 +309,14 @@ public interface IPublicAPI
309309
/// Opens the URL using the browser with the given Uri object, even if the URL is a local file.
310310
/// The browser and mode used is based on what's configured in Flow's default browser settings.
311311
/// </summary>
312-
public void OpenWebUrl(Uri url, bool? inPrivate = null, bool forceBrower = false);
312+
public void OpenWebUrl(Uri url, bool? inPrivate = null);
313313

314314
/// <summary>
315315
/// Opens the URL using the browser with the given string, even if the URL is a local file.
316316
/// The browser and mode used is based on what's configured in Flow's default browser settings.
317317
/// Non-C# plugins should use this method.
318318
/// </summary>
319-
public void OpenWebUrl(string url, bool? inPrivate = null, bool forceBrower = false);
319+
public void OpenWebUrl(string url, bool? inPrivate = null);
320320

321321
/// <summary>
322322
/// Opens the URL with the given Uri object.

Flow.Launcher/PublicAPIInstance.cs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,6 @@ public void OpenDirectory(string directoryPath, string fileNameOrFilePath = null
390390
}
391391
}
392392

393-
394393
private void OpenUri(Uri uri, bool? inPrivate = null, bool forceBrower = false)
395394
{
396395
if (forceBrower || uri.Scheme == Uri.UriSchemeHttp || uri.Scheme == Uri.UriSchemeHttps)
@@ -420,14 +419,14 @@ private void OpenUri(Uri uri, bool? inPrivate = null, bool forceBrower = false)
420419
}
421420
}
422421

423-
public void OpenUrl(string url, bool? inPrivate = null, bool forceBrower = false)
422+
public void OpenWebUrl(string url, bool? inPrivate = null)
424423
{
425-
OpenUri(new Uri(url), inPrivate, forceBrower);
424+
OpenUri(new Uri(url), inPrivate, true);
426425
}
427426

428-
public void OpenUrl(Uri url, bool? inPrivate = null, bool forceBrower = false)
427+
public void OpenWebUrl(Uri url, bool? inPrivate = null)
429428
{
430-
OpenUri(url, inPrivate, forceBrower);
429+
OpenUri(url, inPrivate, true);
431430
}
432431

433432
public void OpenUrl(string url, bool? inPrivate = null)

0 commit comments

Comments
 (0)