diff options
author | syeyoung <cyoung06@naver.com> | 2022-11-17 14:18:51 +0900 |
---|---|---|
committer | syeyoung <cyoung06@naver.com> | 2022-11-17 14:18:51 +0900 |
commit | 7c8441b75d85cfcd209e3381350a231b61294346 (patch) | |
tree | fd3c43fdcf9d4e651e730c86fdd7cb4f9e2be72c /loader/src/main/java/kr/syeyoung/dungeonsguide/launcher/auth | |
parent | 573e44eda970c4fb08b3e213d27845529efba2f1 (diff) | |
download | Skyblock-Dungeons-Guide-7c8441b75d85cfcd209e3381350a231b61294346.tar.gz Skyblock-Dungeons-Guide-7c8441b75d85cfcd209e3381350a231b61294346.tar.bz2 Skyblock-Dungeons-Guide-7c8441b75d85cfcd209e3381350a231b61294346.zip |
- Fix wrong tooltip id
- Tooltip on loading failure
Signed-off-by: syeyoung <cyoung06@naver.com>
Diffstat (limited to 'loader/src/main/java/kr/syeyoung/dungeonsguide/launcher/auth')
-rw-r--r-- | loader/src/main/java/kr/syeyoung/dungeonsguide/launcher/auth/AuthManager.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/loader/src/main/java/kr/syeyoung/dungeonsguide/launcher/auth/AuthManager.java b/loader/src/main/java/kr/syeyoung/dungeonsguide/launcher/auth/AuthManager.java index b75c5100..4db06318 100644 --- a/loader/src/main/java/kr/syeyoung/dungeonsguide/launcher/auth/AuthManager.java +++ b/loader/src/main/java/kr/syeyoung/dungeonsguide/launcher/auth/AuthManager.java @@ -115,7 +115,7 @@ public class AuthManager { NotificationManager.INSTANCE.removeNotification(privacyPolicyRequired); } catch (Exception e) { if (e instanceof PrivacyPolicyRequiredException) { - NotificationManager.INSTANCE.updateNotification(authenticationFailure, Notification.builder() + NotificationManager.INSTANCE.updateNotification(privacyPolicyRequired, Notification.builder() .title("Privacy Policy") .description("Please accept Dungeons Guide\nPrivacy Policy to enjoy server based\nfeatures of Dungeons Guide\n\n(Including Auto-Update/Remote-Jar)") .titleColor(0xFFFF0000) @@ -158,7 +158,7 @@ public class AuthManager { if (currentToken instanceof PrivacyPolicyRequiredToken) throw new PrivacyPolicyRequiredException(); } catch (Exception e) { if (e instanceof PrivacyPolicyRequiredException) { - NotificationManager.INSTANCE.updateNotification(authenticationFailure, Notification.builder() + NotificationManager.INSTANCE.updateNotification(privacyPolicyRequired, Notification.builder() .title("Privacy Policy") .description("Please accept Dungeons Guide\nPrivacy Policy to enjoy server based\nfeatures of Dungeons Guide\n\n(Including Auto-Update/Remote-Jar)") .titleColor(0xFFFF0000) |