权限,检出分支

This commit is contained in:
2025-11-25 14:41:21 +08:00
parent 9e8df74622
commit 29fc16f2ff
5 changed files with 47 additions and 16 deletions

View File

@@ -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),