mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 19:47:21 +01:00
use nullorempty
This commit is contained in:
parent
dbf4a90df2
commit
4650893599
4 changed files with 7 additions and 7 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue