Merge 154ff5ee7b into 6223ea85b5
This commit is contained in:
commit
30ebb3c81d
1 changed files with 8 additions and 2 deletions
|
|
@ -95,8 +95,14 @@ class NewPrivateChatController extends State<NewPrivateChat> {
|
|||
}
|
||||
await showAdaptiveBottomSheet(
|
||||
context: context,
|
||||
builder: (_) => QrScannerModal(
|
||||
onScan: (link) => UrlLauncher(context, link).openMatrixToUrl(),
|
||||
builder: (_) => PopScope(
|
||||
canPop: false,
|
||||
onPopInvokedWithResult: (didPop, result) {
|
||||
Navigator.of(context).pop();
|
||||
},
|
||||
child: QrScannerModal(
|
||||
onScan: (link) => UrlLauncher(context, link).openMatrixToUrl(),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue