Skip to content

Commit

Permalink
remove defaultBubbleMessage
Browse files Browse the repository at this point in the history
  • Loading branch information
demchenkoalex committed Feb 5, 2024
1 parent 9ce9db0 commit d559096
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.6.12

- Remove `defaultBubbleMessage` from the `bubbleBuilder` as it breaks compatibility. If you need this please use previous release, this is the only change here. Next should be v2.0.0 preview.

## 1.6.11

- Small patch release while 2.0.0 is still in the works.
Expand Down
1 change: 0 additions & 1 deletion lib/src/widgets/chat.dart
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ class Chat extends StatefulWidget {
Widget child, {
required types.Message message,
required bool nextMessageInGroup,
required Widget defaultBubbleMessage,
})? bubbleBuilder;

/// See [Message.bubbleRtlAlignment].
Expand Down
2 changes: 0 additions & 2 deletions lib/src/widgets/message/message.dart
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ class Message extends StatelessWidget {
Widget child, {
required types.Message message,
required bool nextMessageInGroup,
required Widget defaultBubbleMessage,
})? bubbleBuilder;

/// Determine the alignment of the bubble for RTL languages. Has no effect
Expand Down Expand Up @@ -227,7 +226,6 @@ class Message extends StatelessWidget {
_messageBuilder(),
message: message,
nextMessageInGroup: roundBorder,
defaultBubbleMessage: defaultMessage,
)
: defaultMessage;
}
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: flutter_chat_ui
description: >
Actively maintained, community-driven chat UI implementation with an
optional Firebase BaaS.
version: 1.6.11
version: 1.6.12
homepage: https://flyer.chat
repository: https://github.com/flyerhq/flutter_chat_ui

Expand Down

0 comments on commit d559096

Please sign in to comment.