feat: import/export login info

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2024-12-24 11:28:18 +08:00
parent 94c077a4fe
commit c23f15b195
5 changed files with 194 additions and 71 deletions

View File

@@ -22,6 +22,8 @@ class GStorage {
static late final Box<dynamic> setting;
static late final Box<dynamic> video;
static bool get isLogin => userInfo.get('userInfoCache') != null;
static List<double> get speedList => List<double>.from(
video.get(
VideoBoxKey.speedsList,