Use nullorempty
This commit is contained in:
parent
9369be568b
commit
ddbaf290b3
|
@ -29,7 +29,7 @@ namespace BetterDiscordWI.panels
|
|||
{
|
||||
Debug.Print(s);
|
||||
if (!s.Contains("app-")) continue;
|
||||
if (highestVersion == null)
|
||||
if (String.IsNullOrEmpty(highestVersion))
|
||||
{
|
||||
highestVersion = s;
|
||||
continue;
|
||||
|
@ -41,6 +41,7 @@ namespace BetterDiscordWI.panels
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
tbPath.Text = highestVersion;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue