Rename everything filcnaplo-related to refilc
This commit is contained in:
@@ -1,21 +0,0 @@
|
||||
import 'package:filcnaplo_premium/models/premium_scopes.dart';
|
||||
|
||||
class PremiumResult {
|
||||
final String accessToken;
|
||||
final List<String> scopes;
|
||||
final String login;
|
||||
|
||||
PremiumResult({
|
||||
required this.accessToken,
|
||||
required this.scopes,
|
||||
required this.login,
|
||||
});
|
||||
|
||||
factory PremiumResult.fromJson(Map json) {
|
||||
return PremiumResult(
|
||||
accessToken: json["access_token"] ?? "igen",
|
||||
scopes: (json["scopes"] ?? [PremiumScopes.all]).cast<String>(),
|
||||
login: json["login"] ?? "igen",
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -1,33 +0,0 @@
|
||||
class PremiumScopes {
|
||||
/// VIP
|
||||
static const all = "filc.premium.*";
|
||||
|
||||
/// Kupak
|
||||
|
||||
/// Custom nickname
|
||||
static const nickname = "filc.premium.NICKNAME";
|
||||
|
||||
/// Advanced grade statistics
|
||||
static const gradeStats = "filc.premium.GRADE_STATS";
|
||||
|
||||
/// Advanced theme customization
|
||||
static const customColors = "filc.premium.CUSTOM_COLORS";
|
||||
|
||||
/// Icon pack customization for subjects
|
||||
static const customIcons = "filc.premium.CUSTOM_ICONS";
|
||||
|
||||
/// Modify subject names
|
||||
static const renameSubjects = "filc.premium.RENAME_SUBJECTS";
|
||||
static const renameTeachers = "filc.premium.RENAME_TEACHERS";
|
||||
|
||||
/// Tinta
|
||||
|
||||
/// Timetable homescreen widget
|
||||
static const timetableWidget = "filc.premium.TIMETALBE_WIDGET";
|
||||
|
||||
/// Goal Planner
|
||||
static const goalPlanner = "filc.premium.GOAL_PLANNER";
|
||||
|
||||
/// Fullscreen weekly timetable view
|
||||
static const fsTimetable = "filc.premium.FS_TIMETABLE";
|
||||
}
|
||||
Reference in New Issue
Block a user