chore: Make imageviewer full window

This commit is contained in:
krille-chan 2024-09-22 09:38:57 +02:00
commit 838dcb413e
No known key found for this signature in database
3 changed files with 27 additions and 10 deletions

View file

@ -64,7 +64,8 @@ class _MxcImageState extends State<MxcImage> {
}
Future<void> _load() async {
final client = widget.client ?? Matrix.of(context).client;
final client =
widget.client ?? widget.event?.room.client ?? Matrix.of(context).client;
final uri = widget.uri;
final event = widget.event;