|
|
@ -4,6 +4,7 @@ import 'package:flutter/cupertino.dart'; |
|
|
|
import 'package:flutter/material.dart'; |
|
|
|
import 'package:flutter/material.dart'; |
|
|
|
import 'package:huixiang/generated/l10n.dart'; |
|
|
|
import 'package:huixiang/generated/l10n.dart'; |
|
|
|
import 'package:huixiang/main.dart'; |
|
|
|
import 'package:huixiang/main.dart'; |
|
|
|
|
|
|
|
import 'package:huixiang/utils/ImgCachePath.dart'; |
|
|
|
import 'package:huixiang/utils/event_type.dart'; |
|
|
|
import 'package:huixiang/utils/event_type.dart'; |
|
|
|
import 'package:huixiang/utils/flutter_utils.dart'; |
|
|
|
import 'package:huixiang/utils/flutter_utils.dart'; |
|
|
|
import 'package:huixiang/utils/font_weight.dart'; |
|
|
|
import 'package:huixiang/utils/font_weight.dart'; |
|
|
@ -234,6 +235,7 @@ class _SettingPage extends State<SettingPage> { |
|
|
|
}); |
|
|
|
}); |
|
|
|
sharedPreferences.setStringList("miniAppid", []); |
|
|
|
sharedPreferences.setStringList("miniAppid", []); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
AppUtils.deleteDirectory(Directory(ImgCachePath.instance.path)); |
|
|
|
|
|
|
|
|
|
|
|
cacheTotal = "0B"; |
|
|
|
cacheTotal = "0B"; |
|
|
|
setState(() {}); |
|
|
|
setState(() {}); |
|
|
|