This commit is contained in:
orz12
2024-06-17 01:26:52 +08:00
parent ff3484e4b5
commit 45aaa3d075
95 changed files with 282 additions and 282 deletions

View File

@@ -74,7 +74,7 @@ class VideoPopupMenu extends StatelessWidget {
// 不感兴趣
PopupMenuItem<String>(
onTap: () async {
String? accessKey = GStrorage.localCache
String? accessKey = GStorage.localCache
.get(LocalCacheKey.accessKey, defaultValue: {})['value'];
if (accessKey == null || accessKey == "") {
SmartDialog.showToast("本操作使用app端接口请前往【隐私设置】刷新access_key");
@@ -262,13 +262,13 @@ class VideoPopupMenu extends StatelessWidget {
act: 5,
reSrc: 11,
);
List<int> blackMidsList = GStrorage.setting
List<int> blackMidsList = GStorage.setting
.get(SettingBoxKey.blackMidsList,
defaultValue: [-1])
.map<int>((i) => i as int)
.toList();
blackMidsList.insert(0, videoItem.owner.mid);
GStrorage.setting
GStorage.setting
.put(SettingBoxKey.blackMidsList, blackMidsList);
Get.back();
SmartDialog.showToast(res['msg'] ?? '成功');