mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 15:47:22 +01:00
use nullorempty
This commit is contained in:
parent
dbf4a90df2
commit
4650893599
4 changed files with 7 additions and 7 deletions
|
|
@ -1447,7 +1447,7 @@ public class SettingsUi : WindowMediatorSubscriberBase
|
|||
" Make sure to enter the character names correctly or use the 'Add current character' button at the bottom.", ImGuiColors.DalamudYellow);
|
||||
int i = 0;
|
||||
_uiShared.DrawUpdateOAuthUIDsButton(selectedServer);
|
||||
if (selectedServer.UseOAuth2 && selectedServer.OAuthToken != null)
|
||||
if (selectedServer.UseOAuth2 && !string.IsNullOrEmpty(selectedServer.OAuthToken))
|
||||
{
|
||||
bool hasSetSecretKeysButNoUid = selectedServer.Authentications.Exists(u => u.SecretKeyIdx != -1 && string.IsNullOrEmpty(u.UID));
|
||||
if (hasSetSecretKeysButNoUid)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue