🐛 Bug fixes and support new version of API
This commit is contained in:
@@ -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/$roomId/call');
|
||||
}
|
||||
} catch (e) {
|
||||
showErrorAlert(e);
|
||||
|
@@ -360,7 +360,7 @@ class CallOverlayBar extends HookConsumerWidget {
|
||||
).padding(all: 16),
|
||||
),
|
||||
onTap: () {
|
||||
context.push('/chat/call/${callNotifier.roomId!}');
|
||||
context.push('/chat/${callNotifier.roomId!}/call');
|
||||
},
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user