mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
opt: remove fav folder after deleted
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -135,7 +135,13 @@ class _MemberFavoriteState extends State<MemberFavorite>
|
||||
'mediaId': item1.id.toString(),
|
||||
'heroTag': widget.heroTag ?? '',
|
||||
},
|
||||
);
|
||||
)?.then((res) {
|
||||
if (res == true) {
|
||||
_controller.first.value.mediaListResponse?.list
|
||||
?.remove(item1);
|
||||
_controller.first.refresh();
|
||||
}
|
||||
});
|
||||
} else if (item1.type == 21) {
|
||||
PiliScheme.routePush(Uri.parse(item1.link ?? ''));
|
||||
} else if (item1.type == 11) {
|
||||
|
||||
Reference in New Issue
Block a user