mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-23 04:00:28 +08:00
mod: 多个toast改用刷新方式显示
This commit is contained in:
@@ -30,7 +30,8 @@ void main() async {
|
||||
WidgetsFlutterBinding.ensureInitialized();
|
||||
MediaKit.ensureInitialized();
|
||||
await GStrorage.init();
|
||||
if (GStrorage.setting.get(SettingBoxKey.autoClearCache, defaultValue: false)) {
|
||||
if (GStrorage.setting
|
||||
.get(SettingBoxKey.autoClearCache, defaultValue: false)) {
|
||||
await CacheManage.clearLibraryCache();
|
||||
}
|
||||
if (GStrorage.setting
|
||||
@@ -56,7 +57,8 @@ void main() async {
|
||||
Request();
|
||||
await Request.setCookie();
|
||||
RecommendFilter();
|
||||
|
||||
SmartDialog.config.toast =
|
||||
SmartConfigToast(displayType: SmartToastType.onlyRefresh);
|
||||
// 异常捕获 logo记录
|
||||
final Catcher2Options debugConfig = Catcher2Options(
|
||||
SilentReportMode(),
|
||||
|
||||
Reference in New Issue
Block a user