fix: Regressions because of vrouter

This commit is contained in:
Christian Pauly 2021-05-23 15:02:36 +02:00
commit de869d5157
24 changed files with 122 additions and 53 deletions

View file

@ -43,6 +43,7 @@ abstract class PlatformInfos {
final version = await PlatformInfos.getVersion();
showAboutDialog(
context: context,
useRootNavigator: false,
children: [
Text('Version: $version'),
OutlinedButton(

View file

@ -70,6 +70,7 @@ class UrlLauncher {
}
if (roomIdOrAlias.sigil == '!') {
if (await showOkCancelAlertDialog(
useRootNavigator: false,
context: context,
title: 'Join room $roomIdOrAlias',
) ==
@ -111,6 +112,7 @@ class UrlLauncher {
}
if (await showOkCancelAlertDialog(
useRootNavigator: false,
context: context,
title: 'Message user ${user.id}',
) ==