fix: Regressions because of vrouter
This commit is contained in:
parent
9522077be4
commit
de869d5157
24 changed files with 122 additions and 53 deletions
|
|
@ -26,6 +26,7 @@ class _EncryptionButtonState extends State<EncryptionButton> {
|
|||
}
|
||||
if (widget.room.joinRules == JoinRules.public) {
|
||||
await showOkAlertDialog(
|
||||
useRootNavigator: false,
|
||||
context: context,
|
||||
okLabel: L10n.of(context).ok,
|
||||
message: L10n.of(context).noEncryptionForPublicRooms,
|
||||
|
|
@ -33,6 +34,7 @@ class _EncryptionButtonState extends State<EncryptionButton> {
|
|||
return;
|
||||
}
|
||||
if (await showOkCancelAlertDialog(
|
||||
useRootNavigator: false,
|
||||
context: context,
|
||||
title: L10n.of(context).enableEncryption,
|
||||
message: widget.room.client.encryptionEnabled
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue