Make invite popup dismissable (#3586)
* Make invite popup dismissable * chore: add pangea comments --------- Co-authored-by: ggurdin <ggurdin@gmail.com>
This commit is contained in:
parent
c740947551
commit
a7054f25a5
1 changed files with 4 additions and 0 deletions
|
|
@ -46,6 +46,7 @@ import '../../widgets/matrix.dart';
|
|||
import 'package:fluffychat/utils/tor_stub.dart'
|
||||
if (dart.library.html) 'package:tor_detector_web/tor_detector_web.dart';
|
||||
|
||||
|
||||
enum PopupMenuAction {
|
||||
settings,
|
||||
invite,
|
||||
|
|
@ -151,6 +152,9 @@ class ChatListController extends State<ChatList>
|
|||
);
|
||||
final matrixLocals = MatrixLocals(L10n.of(context));
|
||||
final action = await showAdaptiveDialog<InviteAction>(
|
||||
// #Pangea
|
||||
barrierDismissible: true,
|
||||
// Pangea#
|
||||
context: context,
|
||||
builder: (context) => AlertDialog.adaptive(
|
||||
title: ConstrainedBox(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue