Skip to content

Commit

Permalink
Fix zoom usable if hidden, closes #538
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeDoctorDE committed Dec 5, 2023
1 parent 4e9f0f4 commit 879e13c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion app/lib/l10n/app_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -580,5 +580,6 @@
}
}
},
"continueAnyway": "Continue anyway"
"continueAnyway": "Continue anyway",
"zoomControl": "Zoom control"
}
2 changes: 1 addition & 1 deletion app/lib/settings/personalization.dart
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ class PersonalizationSettingsPage extends StatelessWidget {
SwitchListTile(
secondary: const PhosphorIcon(
PhosphorIconsLight.magnifyingGlass),
title: Text(AppLocalizations.of(context).zoom),
title: Text(AppLocalizations.of(context).zoomControl),
value: state.zoomEnabled,
onChanged: (value) => context
.read<SettingsCubit>()
Expand Down
1 change: 1 addition & 0 deletions app/lib/views/zoom.dart
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ class _ZoomViewState extends State<ZoomView> with TickerProviderStateMixin {
} else {
_controller.forward();
}
if (_animation.value == 0) return const SizedBox();
if (!widget.floating) return body;
return AnimatedBuilder(
animation: _animation,
Expand Down
1 change: 1 addition & 0 deletions fastlane/metadata/android/en-US/changelogs/82.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
* Improve documentation of shortcuts ([#534](https://github.com/LinwoodDev/Butterfly/issues/534))
* Fix closing of settings on click on mobile ([#537](https://github.com/LinwoodDev/Butterfly/issues/537))
* Fix zoom usable if hidden ([#538](https://github.com/LinwoodDev/Butterfly/issues/538))

View all changes in the blog: https://linwood.dev/butterfly/2.0.0-rc.1

0 comments on commit 879e13c

Please sign in to comment.