update new_private_chat.dart
This commit is contained in:
parent
e2d5602c7d
commit
e57684d3ed
1 changed files with 2 additions and 3 deletions
|
|
@ -83,10 +83,9 @@ class NewPrivateChatController extends State<NewPrivateChat> {
|
|||
}
|
||||
await showAdaptiveBottomSheet(
|
||||
context: context,
|
||||
builder: (_) => WillPopScope(
|
||||
onWillPop: () async {
|
||||
builder: (_) => PopScope(
|
||||
onPopInvokedWithResult:(didPop, result) {
|
||||
Navigator.of(context).pop();
|
||||
return false;
|
||||
},
|
||||
child: QrScannerModal(
|
||||
onScan: (link) => UrlLauncher(context, link).openMatrixToUrl(),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue