mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-05-06 23:34:05 +02:00
Make BrowserUtils.OpenExternalBrowser ignore empty urls
This commit is contained in:
parent
6ea95342a0
commit
f39e668f8d
@ -39,6 +39,8 @@ public static bool IsValidUrl(string url){
|
||||
}
|
||||
|
||||
public static void OpenExternalBrowser(string url){
|
||||
if (string.IsNullOrWhiteSpace(url))return;
|
||||
|
||||
if (IsValidUrl(url)){
|
||||
OpenExternalBrowserUnsafe(url);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user