diff --git a/lib/src/utils.dart b/lib/src/utils.dart index 27559f7a..0b59e54c 100644 --- a/lib/src/utils.dart +++ b/lib/src/utils.dart @@ -70,7 +70,11 @@ Future showConfirmationDialog( style: StreamChatTheme.of(context) .textTheme .bodyBold - .copyWith(color: Colors.black.withOpacity(0.5)), + .copyWith( + color: StreamChatTheme.of(context) + .colorTheme + .black + .withOpacity(0.5)), ), onPressed: () { Navigator.of(context).pop(false);