main
王亚玲 11 months ago
parent 5f5579dc5a
commit 1568844f3a

@ -1276,7 +1276,7 @@ class _ChatKFPageState extends State<ChatKFPage>
//
Future<void> _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<ChatKFPage>
Future<void> _pickVideo() async {
try {
bool permission = await Permission.camera.isGranted;
bool permission = await Permission.storage.isGranted;
if (!permission) {
Alert.show(
context,

Loading…
Cancel
Save