mirror of
https://github.com/qinglong-app/qinglong_app.git
synced 2025-10-09 16:48:19 +08:00
修改配置文件修改后返回首页没有及时刷新的bug
This commit is contained in:
@@ -49,7 +49,7 @@ class _ConfigEditPageState extends ConsumerState<ConfigEditPage> {
|
||||
if (response.success) {
|
||||
"提交成功".toast();
|
||||
ref.read(configProvider).loadContent(widget.title);
|
||||
Navigator.of(context).pop();
|
||||
Navigator.of(context).pop(widget.title);
|
||||
} else {
|
||||
(response.message ?? "").toast();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user