fix modals using nearest navigator

This commit is contained in:
Salvatore Giordano
2021-06-29 13:31:31 +02:00
parent d93d93aeed
commit 97914bfd15
2 changed files with 3 additions and 0 deletions
@@ -266,6 +266,7 @@ class _GroupChatDetailsScreenState extends State<GroupChatDetailsScreen> {
void _showErrorAlert() {
showModalBottomSheet(
useRootNavigator: false,
backgroundColor: StreamChatTheme.of(context).colorTheme.white,
context: context,
shape: RoundedRectangleBorder(