Skip to content

Commit

Permalink
fix #10
Browse files Browse the repository at this point in the history
  • Loading branch information
Predidit committed Jun 27, 2024
1 parent e992873 commit c901d13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/pages/plugin_editor/plugin_shop_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ class _PluginShopPageState extends State<PluginShopPage> {
if (pluginHTTPItem != null) {
await pluginsController
.savePluginToJsonFile(pluginHTTPItem);
pluginsController.loadPlugins();
await pluginsController.loadPlugins();
SmartDialog.showToast('导入成功');
setState(() {});
}
Expand All @@ -160,7 +160,7 @@ class _PluginShopPageState extends State<PluginShopPage> {
if (pluginHTTPItem != null) {
await pluginsController
.savePluginToJsonFile(pluginHTTPItem);
pluginsController.loadPlugins();
await pluginsController.loadPlugins();
SmartDialog.showToast('更新成功');
setState(() {});
}
Expand Down

0 comments on commit c901d13

Please sign in to comment.