diff --git a/CHANGELOG.md b/CHANGELOG.md index a74340dc..795f3328 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.3.2 + +- [DSGroupCard] fix avatar with `simpleStyle` param + ## 0.3.1 - [DSGroupCard] Improved the scrolling of reply messages diff --git a/lib/src/widgets/utils/ds_group_card.widget.dart b/lib/src/widgets/utils/ds_group_card.widget.dart index 1dfcb4ff..67a4fd7c 100644 --- a/lib/src/widgets/utils/ds_group_card.widget.dart +++ b/lib/src/widgets/utils/ds_group_card.widget.dart @@ -367,8 +367,9 @@ class _DSGroupCardState extends State { ), ]; - if ((sentMessage && widget.avatarConfig.showSentAvatar) || - (!sentMessage && widget.avatarConfig.showReceivedAvatar)) { + if (!widget.simpleStyle && + ((sentMessage && widget.avatarConfig.showSentAvatar) || + (!sentMessage && widget.avatarConfig.showReceivedAvatar))) { columns.add( const SizedBox.shrink(), ); diff --git a/pubspec.yaml b/pubspec.yaml index 0e71f7ad..ab711eeb 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: blip_ds description: Blip Design System for Flutter. -version: 0.3.1 +version: 0.3.2 homepage: https://github.com/takenet/blip-ds-flutter#readme repository: https://github.com/takenet/blip-ds-flutter diff --git a/sample/pubspec.lock b/sample/pubspec.lock index f3df7716..2c64c6fe 100644 --- a/sample/pubspec.lock +++ b/sample/pubspec.lock @@ -31,7 +31,7 @@ packages: path: ".." relative: true source: path - version: "0.2.6" + version: "0.3.2" boolean_selector: dependency: transitive description: @@ -695,14 +695,14 @@ packages: url: "https://pub.dev" source: hosted version: "0.27.7" - scroll_to_index: + scrollview_observer: dependency: transitive description: - name: scroll_to_index - sha256: b707546e7500d9f070d63e5acf74fd437ec7eeeb68d3412ef7b0afada0b4f176 + name: scrollview_observer + sha256: d607bc97165113b4ce6aa860a3865cfa6b849445a48c216461d74bc96be6cb94 url: "https://pub.dev" source: hosted - version: "3.0.1" + version: "1.24.0" simple_animations: dependency: transitive description: