权限,检出分支
This commit is contained in:
@@ -27,7 +27,7 @@ class QrCodePage extends GetView<QrCodeController> {
|
||||
),
|
||||
actions: [
|
||||
TextButton(
|
||||
onPressed: controller.scanFromGallery,
|
||||
onPressed: controller.requestPhotoPermission,
|
||||
child: const Text(
|
||||
'相册',
|
||||
style: TextStyle(color: Colors.white, fontSize: 16),
|
||||
|
||||
Reference in New Issue
Block a user