Skip to content

Commit c3dbe51

Browse files
authored
fix: Audio recorder error handling (#956)
Updated app and package versions to 4.1.2. Removed a redundant '.catch' statement in AudioRecorder.tsx to clean up error handling.
1 parent 0ce5cbf commit c3dbe51

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

app.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default ({ config }: ConfigContext): ExpoConfig => {
44
return {
55
name: 'Chatwoot',
66
slug: process.env.EXPO_PUBLIC_APP_SLUG || 'chatwoot-mobile',
7-
version: '4.0.20',
7+
version: '4.1.2',
88
orientation: 'portrait',
99
icon: './assets/icon.png',
1010
userInterfaceStyle: 'light',

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@chatwoot/mobile-app",
3-
"version": "4.0.20",
3+
"version": "4.1.2",
44
"scripts": {
55
"start": "expo start --dev-client",
66
"start:production": "expo start --no-dev --minify",

src/screens/chat-screen/components/audio-recorder/AudioRecorder.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@ export const AudioRecorder = ({
120120
}
121121
})
122122
.catch(error => {
123-
.catch(error => {
124123
Alert.alert(
125124
'Error preparing audio file',
126125
error instanceof Error ? error.message : String(error),

0 commit comments

Comments
 (0)