diff --git a/doc/documentation.md b/doc/documentation.md index 3c0dc6e..c3caa15 100644 --- a/doc/documentation.md +++ b/doc/documentation.md @@ -7,9 +7,9 @@ enables seamless integration with cloud services. ## Preview -| ChatList | ChatView | -|--------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------| -| ![ChatList_Preview](https://raw.githubusercontent.com/SimformSolutionsPvtLtd/chatview/master/preview/chatlist.gif) | ![ChatView Preview](https://raw.githubusercontent.com/SimformSolutionsPvtLtd/chatview/master/preview/chatview.gif) | +| ChatList | ChatView | +|------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------| +| ![ChatList_Preview](https://raw.githubusercontent.com/SimformSolutionsPvtLtd/chatview/main/preview/chatlist.gif) | ![ChatView Preview](https://raw.githubusercontent.com/SimformSolutionsPvtLtd/chatview/main/preview/chatview.gif) | ## Features diff --git a/example/lib/modules/chat_detail/chat_detail_screen.dart b/example/lib/modules/chat_detail/chat_detail_screen.dart index 1a651a2..4307188 100644 --- a/example/lib/modules/chat_detail/chat_detail_screen.dart +++ b/example/lib/modules/chat_detail/chat_detail_screen.dart @@ -156,14 +156,11 @@ class _ChatDetailScreenState extends State { child: const Row( mainAxisSize: MainAxisSize.min, children: [ - CircleAvatar( - radius: 2.75, backgroundColor: AppColors.grey), + CircleAvatar(radius: 2.75, backgroundColor: AppColors.grey), SizedBox(width: 3), - CircleAvatar( - radius: 2.75, backgroundColor: AppColors.grey), + CircleAvatar(radius: 2.75, backgroundColor: AppColors.grey), SizedBox(width: 3), - CircleAvatar( - radius: 2.75, backgroundColor: AppColors.grey), + CircleAvatar(radius: 2.75, backgroundColor: AppColors.grey), ], ), ), diff --git a/example/lib/modules/chat_list/widgets/chatview_custom_chat_bar.dart b/example/lib/modules/chat_list/widgets/chatview_custom_chat_bar.dart index dc27de5..3b689df 100644 --- a/example/lib/modules/chat_list/widgets/chatview_custom_chat_bar.dart +++ b/example/lib/modules/chat_list/widgets/chatview_custom_chat_bar.dart @@ -383,8 +383,7 @@ class _ChatViewCustomChatBarState extends State { if (!isRecording.value) { await controller?.record( - recorderSettings: - voiceRecordingConfig.recorderSettings ?? const RecorderSettings(), + recorderSettings: voiceRecordingConfig.recorderSettings, ); isRecording.value = true; } else {