这是indexloc提供的服务,不要输入任何密码
Skip to content

fix: replace unnecessary null check for i #153

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 12, 2024
Merged

fix: replace unnecessary null check for i #153

merged 1 commit into from
May 12, 2024

Conversation

poppingmoon
Copy link
Owner

Removed use of if (i != null) for a condition of showing buttons and replaced with if (!account.isGuest).
These checks are meant to hide unusable buttons for guest users and i can be null even if token is available due to server conditions.

ref: #151

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant