Skip to content

Commit

Permalink
Merge branch 'hotfix/0.13.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
vitoramaral10 committed Sep 6, 2023
2 parents f5c57f5 + 0831ff8 commit 47ff030
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 61 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## [v0.13.1](https://github.com/vitoramaral10/get_bootstrap/compare/v0.13.0...v0.13.1) - 6 September 2023

### Fixes

* fix duplicated body in modals ([`6046ca1`](https://github.com/vitoramaral10/get_bootstrap/commit/6046ca133986d10a825b0ddb28a684035efd78ee))

## [v0.13.0](https://github.com/vitoramaral10/get_bootstrap/compare/v0.12.2...v0.13.0) - 6 September 2023

### Features
Expand Down
59 changes: 0 additions & 59 deletions lib/components/modals/bt_modal.dart
Original file line number Diff line number Diff line change
Expand Up @@ -237,65 +237,6 @@ class BTModal extends StatelessWidget {
height: 1,
color: darkMode ? BTColors.gray600 : BTColors.gray300,
),
if (body != null)
(fullScreen && size == null) || (fullScreen && size == Size.xxl)
? Expanded(
child: SingleChildScrollView(
child: Container(
padding: bodyPadding ?? const EdgeInsets.all(16),
decoration: BoxDecoration(
color: bodyBackground ??
(darkMode
? BTColors.gray800
: BTColors.white),
borderRadius: BorderRadius.only(
topLeft: head == null
? const Radius.circular(8)
: Radius.zero,
topRight: head == null
? const Radius.circular(8)
: Radius.zero,
bottomLeft: footer == null
? const Radius.circular(8)
: Radius.zero,
bottomRight: footer == null
? const Radius.circular(8)
: Radius.zero,
),
),
width: double.infinity,
child: body,
),
),
)
: Container(
padding: bodyPadding ?? const EdgeInsets.all(16),
decoration: BoxDecoration(
color: bodyBackground ??
(darkMode ? BTColors.gray800 : BTColors.white),
borderRadius: BorderRadius.only(
topLeft: head == null
? const Radius.circular(8)
: Radius.zero,
topRight: head == null
? const Radius.circular(8)
: Radius.zero,
bottomLeft: footer == null
? const Radius.circular(8)
: Radius.zero,
bottomRight: footer == null
? const Radius.circular(8)
: Radius.zero,
),
),
width: double.infinity,
child: body,
),
if (footer != null)
Divider(
height: 1,
color: darkMode ? BTColors.gray600 : BTColors.gray300,
),
if (footer != null)
Container(
padding: footerPadding ?? const EdgeInsets.all(12),
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.13.0",
"version": "0.13.1",
"scripts": {
"changelog": "auto-changelog"
},
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: get_bootstrap
description: Este projeto foi desenvolvido com base a documentação do Bootstrap,
porém foi desenvolvido a mão para uso no Flutter.
version: 0.13.0
version: 0.13.1
homepage: https://github.com/vitoramaral10/get_bootstrap

environment:
Expand Down

0 comments on commit 47ff030

Please sign in to comment.