mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
Fix typo
This commit is contained in:
@@ -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'] ?? '成功');
|
||||
|
||||
Reference in New Issue
Block a user