From 1568844f3a8703b054a65a82b68c12d707a2ac8a Mon Sep 17 00:00:00 2001 From: wylyl22 <2373073266@qq.com> Date: Mon, 8 Jan 2024 20:25:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bytedesk_kefu/lib/ui/chat/page/chat_kf_page.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bytedesk_kefu/lib/ui/chat/page/chat_kf_page.dart b/bytedesk_kefu/lib/ui/chat/page/chat_kf_page.dart index b49db65..074de48 100755 --- a/bytedesk_kefu/lib/ui/chat/page/chat_kf_page.dart +++ b/bytedesk_kefu/lib/ui/chat/page/chat_kf_page.dart @@ -1276,7 +1276,7 @@ class _ChatKFPageState extends State // 选择图片 Future _pickImage() async { - bool permission = await Permission.camera.isGranted; + bool permission = await Permission.storage.isGranted; if (!permission) { Alert.show( @@ -1541,7 +1541,7 @@ class _ChatKFPageState extends State Future _pickVideo() async { try { - bool permission = await Permission.camera.isGranted; + bool permission = await Permission.storage.isGranted; if (!permission) { Alert.show( context,