fix: video page

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2024-11-27 16:01:34 +08:00
parent db8d3bab51
commit e405395347
7 changed files with 66 additions and 34 deletions

View File

@@ -90,7 +90,9 @@ class NetworkImgLayer extends StatelessWidget {
imageBuilder: imageBuilder,
errorListener: (value) {
thumbnail = false;
(context as Element).markNeedsBuild();
if (context.mounted) {
(context as Element).markNeedsBuild();
}
},
),
),