mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2024-12-17 17:20:21 +01:00
UI fixes + Scan fix
This commit is contained in:
@@ -176,15 +176,7 @@ class _AddContactViewState extends State<AddContactView> {
|
||||
result = scanData;
|
||||
await controller.pauseCamera();
|
||||
if (result != null) {
|
||||
await Navigator.push(
|
||||
context,
|
||||
MaterialPageRoute(
|
||||
builder: (_) => QRCodeDetailsView(
|
||||
barcode: result!,
|
||||
),
|
||||
),
|
||||
);
|
||||
await controller.resumeCamera();
|
||||
Navigator.of(context).pop(true);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
@@ -30,6 +30,7 @@ class ScanInvitationView extends StatelessWidget {
|
||||
onTap: () => _showConnection(context),
|
||||
child: Image.asset(
|
||||
'assets/code.png',
|
||||
height: _size.height * 0.3
|
||||
),
|
||||
),
|
||||
SizedBox(height: _size.height * 0.04),
|
||||
|
||||
Reference in New Issue
Block a user