Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-07-23 16:47:11 +08:00
parent 148e0872b4
commit 418a1e8d39
821 changed files with 29467 additions and 25520 deletions

View File

@@ -11,7 +11,7 @@ class HistoryBaseController extends GetxController {
RxBool enableMultiSelect = false.obs;
RxInt checkedCount = 0.obs;
// 清空观看历史
// 清空观看历史
void onClearHistory(BuildContext context, VoidCallback onSuccess) {
showDialog(
context: context,
@@ -71,8 +71,10 @@ class HistoryBaseController extends GetxController {
if (res.data['code'] == 0) {
SmartDialog.showToast(pauseStatus ? '暂停观看历史' : '恢复观看历史');
this.pauseStatus.value = pauseStatus;
GStorage.localCache
.put(LocalCacheKey.historyPause, pauseStatus);
GStorage.localCache.put(
LocalCacheKey.historyPause,
pauseStatus,
);
}
Get.back();
},