fix: add storage

This commit is contained in:
Simon Ding
2024-07-25 10:38:37 +08:00
parent 3998270cbd
commit 1be44bff9e

View File

@@ -260,7 +260,7 @@ class _SearchPageState extends ConsumerState<SearchPage> {
.notifier)
.submit2Watchlist(item.id!, storageSelected,
resSelected, item.mediaType!, pathController.text)
.then((v) {
.whenComplete(() {
Utils.showSnakeBar("添加成功");
Navigator.of(context).pop();
}).onError((error, trace) {