From 081debfaef2ced7f910d95a743ad9e65a48f2d97 Mon Sep 17 00:00:00 2001 From: Feodor Fitsner Date: Wed, 26 Apr 2023 21:08:30 -0700 Subject: [PATCH] Fix regression in `AlertDialog` and `BottomSheet` controls Fix #1344 --- CHANGELOG.md | 4 ++++ client/pubspec.lock | 2 +- package/CHANGELOG.md | 4 ++++ package/lib/src/models/control.dart | 4 ++-- package/pubspec.yaml | 2 +- studio/client/pubspec.lock | 2 +- 6 files changed, 13 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 779c93a1e..4e9ddce6e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Flet changelog +## 0.6.1 + +* Fix regression in `AlertDialog` and `BottomSheet` controls ([#1344](https://github.com/flet-dev/flet/issues/1344)) + ## 0.6.0 * `Canvas` control ([docs](https://flet.dev/docs/controls/canvas)). diff --git a/client/pubspec.lock b/client/pubspec.lock index c6b6e750e..f61c48802 100644 --- a/client/pubspec.lock +++ b/client/pubspec.lock @@ -175,7 +175,7 @@ packages: path: "../package" relative: true source: path - version: "0.6.0" + version: "0.6.1" flutter: dependency: "direct main" description: flutter diff --git a/package/CHANGELOG.md b/package/CHANGELOG.md index 8239fbb08..5f05b2961 100644 --- a/package/CHANGELOG.md +++ b/package/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.6.1 + +* Fix regression in `AlertDialog` and `BottomSheet` controls ([#1344](https://github.com/flet-dev/flet/issues/1344)) + ## 0.6.0 * `Canvas` control ([docs](https://flet.dev/docs/controls/canvas)). diff --git a/package/lib/src/models/control.dart b/package/lib/src/models/control.dart index 330d4d827..48475979a 100644 --- a/package/lib/src/models/control.dart +++ b/package/lib/src/models/control.dart @@ -45,10 +45,10 @@ class Control extends Equatable { bool get isNonVisual { return [ - "alertdialog", + //"alertdialog", "audio", "banner", - "bottomsheet", + //"bottomsheet", "clipboard", "filepicker", "hapticfeedback", diff --git a/package/pubspec.yaml b/package/pubspec.yaml index b8570587f..bd89e64fb 100644 --- a/package/pubspec.yaml +++ b/package/pubspec.yaml @@ -2,7 +2,7 @@ name: flet description: Write entire Flutter app in Python or add server-driven UI experience into existing Flutter app. homepage: https://flet.dev repository: https://github.com/flet-dev/flet -version: 0.6.0 +version: 0.6.1 # This package supports all platforms listed below. platforms: diff --git a/studio/client/pubspec.lock b/studio/client/pubspec.lock index 8c56330da..32dac985b 100644 --- a/studio/client/pubspec.lock +++ b/studio/client/pubspec.lock @@ -175,7 +175,7 @@ packages: path: "../../package" relative: true source: path - version: "0.6.0" + version: "0.6.1" flutter: dependency: "direct main" description: flutter