[FIX] v1.8.0 (#599)
* Downgrade react-native-fast-image * Update iOS permission usage descriptions * [FIX] Delete upload item
This commit is contained in:
parent
d5a285f85e
commit
d26f14d155
|
@ -102,7 +102,12 @@ export default class UploadProgress extends Component {
|
||||||
}
|
}
|
||||||
|
|
||||||
deleteUpload = (item) => {
|
deleteUpload = (item) => {
|
||||||
database.write(() => database.delete(item));
|
const uploadItem = this.uploads.filtered('path = $0', item.path);
|
||||||
|
try {
|
||||||
|
database.write(() => database.delete(uploadItem[0]));
|
||||||
|
} catch (e) {
|
||||||
|
log('UploadProgess.deleteUpload', e);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
cancelUpload = async(item) => {
|
cancelUpload = async(item) => {
|
||||||
|
|
|
@ -65,11 +65,11 @@
|
||||||
</dict>
|
</dict>
|
||||||
</dict>
|
</dict>
|
||||||
<key>NSCameraUsageDescription</key>
|
<key>NSCameraUsageDescription</key>
|
||||||
<string>Upload images from camera</string>
|
<string>Take photos to share with other users</string>
|
||||||
<key>NSMicrophoneUsageDescription</key>
|
<key>NSMicrophoneUsageDescription</key>
|
||||||
<string>This app uses the microphone to record audio message.</string>
|
<string>Use your microphone to record audio messages</string>
|
||||||
<key>NSPhotoLibraryUsageDescription</key>
|
<key>NSPhotoLibraryUsageDescription</key>
|
||||||
<string>Upload images from library</string>
|
<string>Upload photos to share with other users or to change your avatar</string>
|
||||||
<key>UIAppFonts</key>
|
<key>UIAppFonts</key>
|
||||||
<array>
|
<array>
|
||||||
<string>Entypo.ttf</string>
|
<string>Entypo.ttf</string>
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -41,7 +41,7 @@
|
||||||
"react-native-device-info": "^0.25.1",
|
"react-native-device-info": "^0.25.1",
|
||||||
"react-native-dialog": "^5.5.0",
|
"react-native-dialog": "^5.5.0",
|
||||||
"react-native-fabric": "github:corymsmith/react-native-fabric#523a4edab3b2bf55ea9eeea2cf0dde82c5c29dd4",
|
"react-native-fabric": "github:corymsmith/react-native-fabric#523a4edab3b2bf55ea9eeea2cf0dde82c5c29dd4",
|
||||||
"react-native-fast-image": "^5.1.2",
|
"react-native-fast-image": "^5.0.11",
|
||||||
"react-native-gesture-handler": "^1.0.15",
|
"react-native-gesture-handler": "^1.0.15",
|
||||||
"react-native-i18n": "^2.0.15",
|
"react-native-i18n": "^2.0.15",
|
||||||
"react-native-image-crop-picker": "git+https://github.com/RocketChat/react-native-image-crop-picker.git",
|
"react-native-image-crop-picker": "git+https://github.com/RocketChat/react-native-image-crop-picker.git",
|
||||||
|
|
Loading…
Reference in New Issue