temp plus bypass

This commit is contained in:
Kima 2024-03-24 20:29:50 +01:00
parent 2b23ec31f2
commit 78e6446c94

View File

@ -6,7 +6,7 @@ import 'package:flutter/widgets.dart';
class PremiumProvider extends ChangeNotifier {
final SettingsProvider _settings;
List<String> get scopes => _settings.premiumScopes;
bool hasScope(String scope) => false;
bool hasScope(String scope) => true;
// bool hasScope(String scope) =>
// scopes.contains(scope) || scopes.contains(PremiumScopes.all);
String get accessToken => _settings.premiumAccessToken;