mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-08-13 01:16:59 +02:00
Make BrowserUtils.OpenExternalBrowser ignore empty urls
This commit is contained in:
@@ -39,6 +39,8 @@ namespace TweetDck.Core.Utils{
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static void OpenExternalBrowser(string url){
|
public static void OpenExternalBrowser(string url){
|
||||||
|
if (string.IsNullOrWhiteSpace(url))return;
|
||||||
|
|
||||||
if (IsValidUrl(url)){
|
if (IsValidUrl(url)){
|
||||||
OpenExternalBrowserUnsafe(url);
|
OpenExternalBrowserUnsafe(url);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user