diff --git a/CHANGELOG.md b/CHANGELOG.md index bb696dea..9baf7bac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.2.1 + +- [DSButton] Removed border color when `borderColor` property is not informed. + ## 0.2.0 - [DSEndCallsMessageBubble] Fixed layout when used by small screens. diff --git a/lib/src/widgets/buttons/ds_button.widget.dart b/lib/src/widgets/buttons/ds_button.widget.dart index 35aa9e0e..45d96f8c 100644 --- a/lib/src/widgets/buttons/ds_button.widget.dart +++ b/lib/src/widgets/buttons/ds_button.widget.dart @@ -69,9 +69,11 @@ class DSButton extends StatelessWidget { : RoundedRectangleBorder( borderRadius: BorderRadius.circular(borderRadius), ), - side: BorderSide( - color: borderColor ?? backgroundColor, - ), + side: borderColor != null + ? BorderSide( + color: borderColor!, + ) + : null, ), child: DSAnimatedSize( child: Row( diff --git a/pubspec.yaml b/pubspec.yaml index 8d9af97e..7889a319 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: blip_ds description: Blip Design System for Flutter. -version: 0.2.0 +version: 0.2.1 homepage: https://github.com/takenet/blip-ds-flutter#readme repository: https://github.com/takenet/blip-ds-flutter