fix: Add missing mounted check to mxcImage
This commit is contained in:
parent
1c9a3115c9
commit
dbba21f552
1 changed files with 1 additions and 0 deletions
|
|
@ -66,6 +66,7 @@ class _MxcImageState extends State<MxcImage> {
|
|||
}
|
||||
|
||||
Future<void> _load() async {
|
||||
if (!mounted) return;
|
||||
final client =
|
||||
widget.client ?? widget.event?.room.client ?? Matrix.of(context).client;
|
||||
final uri = widget.uri;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue