use nullorempty

This commit is contained in:
Stanley Dimant 2024-12-17 17:02:57 +01:00
parent dbf4a90df2
commit 4650893599
4 changed files with 7 additions and 7 deletions

View file

@ -284,7 +284,7 @@ public partial class IntroUi : WindowMediatorSubscriberBase
}
else
{
if (selectedServer.OAuthToken == null)
if (string.IsNullOrEmpty(selectedServer.OAuthToken))
{
UiSharedService.TextWrapped("Press the button below to verify the server has OAuth2 capabilities. Afterwards, authenticate using Discord in the Browser window.");
_uiShared.DrawOAuth(selectedServer);