fix: Dialog using wrong Navigator
This commit is contained in:
parent
57f81a3aa3
commit
1a167bebe7
30 changed files with 240 additions and 193 deletions
|
|
@ -20,10 +20,9 @@ class ChatPermissionsSettings extends StatelessWidget {
|
|||
return FlushbarHelper.createError(message: L10n.of(context).noPermission)
|
||||
.show(context);
|
||||
}
|
||||
final newLevel = await PermissionSliderDialog(
|
||||
initialPermission: currentLevel,
|
||||
l10n: L10n.of(context),
|
||||
).show(context);
|
||||
final newLevel =
|
||||
await PermissionSliderDialog(initialPermission: currentLevel)
|
||||
.show(context);
|
||||
if (newLevel == null) return;
|
||||
final content = Map<String, dynamic>.from(
|
||||
room.getState(EventTypes.RoomPowerLevels).content);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue