new refilcplus page tier cards
This commit is contained in:
parent
a4d569db8d
commit
a1e434f020
@ -6,6 +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) =>
|
||||
scopes.contains(scope) || scopes.contains(PremiumScopes.all);
|
||||
String get accessToken => _settings.premiumAccessToken;
|
||||
|
Loading…
x
Reference in New Issue
Block a user