From c2754b83ae2167857626653291185d4df59f0eba Mon Sep 17 00:00:00 2001 From: Kima Date: Tue, 9 Apr 2024 21:59:52 +0200 Subject: [PATCH] fixed weird plus things and it's working really well :3 --- lib/api/auth.dart | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/api/auth.dart b/lib/api/auth.dart index cd5ab76..6f20b18 100644 --- a/lib/api/auth.dart +++ b/lib/api/auth.dart @@ -122,9 +122,10 @@ class PremiumAuth { // return false; // } - Future refreshAuth({bool removePremium = false}) async { + Future refreshAuth( + {bool removePremium = false, bool reactivate = false}) async { if (!removePremium) { - if (_settings.plusSessionId == "") { + if (_settings.plusSessionId == "" && !reactivate) { await _settings.update(premiumScopes: [], premiumLogin: ""); return false; }