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