fix: Remove global key

This commit is contained in:
Krille Fear 2021-10-25 10:48:48 +02:00
commit 3483df545c
3 changed files with 2 additions and 4 deletions

View file

@ -345,7 +345,7 @@ class MatrixState extends State<Matrix> with WidgetsBindingObserver {
}
});
onUiaRequest[name] ??= c.onUiaRequest.stream.listen(
UiaRequestManager(client, L10n.of(context), navigatorContext)
UiaRequestManager(client, L10n.of(widget.context), navigatorContext)
.onUiaRequest,
);
if (PlatformInfos.isWeb || PlatformInfos.isLinux) {