opt: save reply

This commit is contained in:
bggRGjQaUbCoE
2024-09-02 21:29:12 +08:00
parent 915688e4d1
commit 94d5d60656
4 changed files with 9 additions and 3 deletions

View File

@@ -94,7 +94,6 @@ class CacheManage {
),
TextButton(
onPressed: () async {
Get.back();
SmartDialog.showLoading(msg: '正在清除...');
try {
// 清除缓存 图片缓存
@@ -106,6 +105,7 @@ class CacheManage {
SmartDialog.dismiss();
SmartDialog.showToast(err.toString());
}
Get.back();
},
child: const Text('确认'),
)

View File

@@ -1,5 +1,4 @@
import 'package:flutter/material.dart';
import 'package:get/get.dart';
extension ImageExtension on num {
int cacheSize(BuildContext context) {