diff --git a/CHANGELOG.md b/CHANGELOG.md index efb9080..5a43123 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.10.1 + +* fix: revert viewPadding update when keyboard opens/closes. + ## 0.10.0 * feat: Add support for 2-button and 3-button navigation for Android devices. diff --git a/lib/src/adaptive/window_configuration_tester.dart b/lib/src/adaptive/window_configuration_tester.dart index 5053b04..eaba821 100644 --- a/lib/src/adaptive/window_configuration_tester.dart +++ b/lib/src/adaptive/window_configuration_tester.dart @@ -23,13 +23,11 @@ extension WidgetTesterWithConfigurableWindow on WidgetTester { void configureOpenedKeyboardWindow(WindowConfigData windowConfig) { view.viewInsets = windowConfig.viewInsets; view.padding = windowConfig.padding.copyWith(bottom: 0); - view.viewPadding = windowConfig.viewInsets; } /// Configure the tester window to represent a closed keyboard on the given device variant. void configureClosedKeyboardWindow(WindowConfigData windowConfig) { view.resetViewInsets(); view.padding = windowConfig.padding; - view.viewPadding = windowConfig.padding; } } diff --git a/pubspec.yaml b/pubspec.yaml index 0606ba5..d05c8e8 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,7 +1,7 @@ name: adaptive_test description: >- A Flutter package to generate adaptive golden files during widget tests. -version: 0.10.0 +version: 0.10.1 homepage: https://github.com/bamlab/adaptive_test repository: https://github.com/bamlab/adaptive_test