mirror of
https://github.com/carlrobertoh/ProxyAI.git
synced 2026-05-12 14:10:29 +00:00
chore(deps): Update checkstyle to 10.15.0 (#438)
* Cleaned versions catalog and dependencies * Fixed checkstyle finding
This commit is contained in:
parent
4688a1c8d0
commit
00c9813eeb
4 changed files with 10 additions and 7 deletions
|
|
@ -60,7 +60,6 @@ public final class YouAuthenticationService {
|
|||
|
||||
if (response.code() == 200) {
|
||||
try {
|
||||
var messageBus = ApplicationManager.getApplication().getMessageBus();
|
||||
var userManager = YouUserManager.getInstance();
|
||||
|
||||
var authenticationResponse =
|
||||
|
|
@ -72,6 +71,7 @@ public final class YouAuthenticationService {
|
|||
YouApiClient.getInstance().getSubscription(authenticationResponse);
|
||||
var subscribed = subscription != null && "youpro".equals(subscription.getService());
|
||||
userManager.setSubscribed(subscribed);
|
||||
var messageBus = ApplicationManager.getApplication().getMessageBus();
|
||||
if (subscribed) {
|
||||
messageBus.syncPublisher(YouSubscriptionNotifier.SUBSCRIPTION_TOPIC).subscribed();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue