fixed weird plus things and it's working really well :3

This commit is contained in:
Kima 2024-04-09 21:59:52 +02:00
parent 8ac99d0163
commit c2754b83ae

View File

@ -122,9 +122,10 @@ class PremiumAuth {
// return false;
// }
Future<bool> refreshAuth({bool removePremium = false}) async {
Future<bool> refreshAuth(
{bool removePremium = false, bool reactivate = false}) async {
if (!removePremium) {
if (_settings.plusSessionId == "") {
if (_settings.plusSessionId == "" && !reactivate) {
await _settings.update(premiumScopes: [], premiumLogin: "");
return false;
}