🐛 Fix upload file in share sheet

This commit is contained in:
2025-06-29 18:03:18 +08:00
parent c4becb0a05
commit f04285848f
3 changed files with 3 additions and 10 deletions

View File

@ -44,7 +44,7 @@ class AudioCallButton extends HookConsumerWidget {
try {
await apiClient.post('/chat/realtime/$roomId');
if (context.mounted) {
context.push('/chat/call/roomId');
context.push('/chat/call/$roomId');
}
} catch (e) {
showErrorAlert(e);
@ -96,7 +96,7 @@ class AudioCallButton extends HookConsumerWidget {
tooltip: 'Join Ongoing Call',
onPressed: () {
if (context.mounted) {
context.push('/chat/call/roomId');
context.push('/chat/$roomId/call');
}
},
);