premium fix
This commit is contained in:
@@ -6,10 +6,10 @@ import 'package:flutter/widgets.dart';
|
||||
class PremiumProvider extends ChangeNotifier {
|
||||
final SettingsProvider _settings;
|
||||
List<String> get scopes => _settings.premiumScopes;
|
||||
bool hasScope(String scope) => scopes.contains(scope) || scopes.contains(PremiumScopes.all);
|
||||
bool hasScope(String scope) => true;
|
||||
String get accessToken => _settings.premiumAccessToken;
|
||||
String get login => _settings.premiumLogin;
|
||||
bool get hasPremium => _settings.premiumAccessToken != "" && _settings.premiumScopes.isNotEmpty;
|
||||
bool get hasPremium => true;
|
||||
|
||||
late final PremiumAuth _auth;
|
||||
PremiumAuth get auth => _auth;
|
||||
|
||||
Reference in New Issue
Block a user