fix: UiaRequestManager
This commit is contained in:
parent
7e5a460dde
commit
0a17e91d72
2 changed files with 30 additions and 33 deletions
|
|
@ -346,10 +346,7 @@ class MatrixState extends State<Matrix> with WidgetsBindingObserver {
|
|||
SettingKeys.ownStatusMessage, presence.presence.statusMsg);
|
||||
}
|
||||
});
|
||||
onUiaRequest[name] ??= c.onUiaRequest.stream.listen(
|
||||
UiaRequestManager(client, L10n.of(widget.context), navigatorContext)
|
||||
.onUiaRequest,
|
||||
);
|
||||
onUiaRequest[name] ??= c.onUiaRequest.stream.listen(uiaRequestHandler);
|
||||
if (PlatformInfos.isWeb || PlatformInfos.isLinux) {
|
||||
c.onSync.stream.first.then((s) {
|
||||
html.Notification.requestPermission();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue