fixed weird plus things and it's working really well :3
This commit is contained in:
parent
8ac99d0163
commit
c2754b83ae
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user