diff --git a/app.json b/app.json
index 6deb44c..fe141e7 100644
--- a/app.json
+++ b/app.json
@@ -46,14 +46,14 @@
[
"expo-camera",
{
- "cameraPermission": "允许铁粉空间使用您的相机"
+ "cameraPermission": "允许铁粉空间使用您的相机,以便拍摄或录制您需要的内容"
}
],
[
"expo-media-library",
{
- "photosPermission": "允许铁粉空间访问您的相册",
- "savePhotosPermission": "允许铁粉空间保存图片到相册",
+ "photosPermission": "允许铁粉空间访问您的相册,以便您选择合适的图片进行上传",
+ "savePhotosPermission": "允许铁粉空间保存图片到相册,以便您稍后在相册中继续查看",
"isAccessMediaLocationEnabled": true
}
],
diff --git a/components/MediaPickerModal/index.jsx b/components/MediaPickerModal/index.jsx
index 827a26a..e90b562 100644
--- a/components/MediaPickerModal/index.jsx
+++ b/components/MediaPickerModal/index.jsx
@@ -299,6 +299,7 @@ export default function MediaPickerModal({
setVisible={setRequestModalVisible}
title="权限申请"
content="该功能需要开启存储权限,用于选择上传媒体文件"
+ confirmText="继续"
cancel={() => {
setRequestModalVisible(false);
}}
@@ -312,6 +313,7 @@ export default function MediaPickerModal({
setVisible={setOverlayVisible}
title="您还未打开媒体权限"
content="是否前往设置开启权限?"
+ confirmText="继续"
cancel={() => {
setOverlayVisible(false);
}}
diff --git a/components/MyModal/index.jsx b/components/MyModal/index.jsx
index 58095cc..1b99a1e 100644
--- a/components/MyModal/index.jsx
+++ b/components/MyModal/index.jsx
@@ -8,6 +8,8 @@ export default function MyModal({
title,
content,
confirm,
+ confirmText,
+ cancelText,
}) {
const tailwind = useTailwind();
return (
@@ -24,7 +26,7 @@ export default function MyModal({
}}
>
- 取消
+ {cancelText ? cancelText : "取消"}
- 确认
+ {confirmText ? confirmText : "确认"}
diff --git a/screeens/EditUserProfile/SelectUserProfileItem/index.jsx b/screeens/EditUserProfile/SelectUserProfileItem/index.jsx
index e19068d..cacea3a 100644
--- a/screeens/EditUserProfile/SelectUserProfileItem/index.jsx
+++ b/screeens/EditUserProfile/SelectUserProfileItem/index.jsx
@@ -135,7 +135,7 @@ export default function SelectUserProfileItem({ navigation, route }) {
头像
setMediaPickerModalVisible(true)}
+ onPress={() => setMediaPickerModalVisible(!mediaPickerModalVisible)}
style={tailwind("flex-row items-center")}
>