Add an option to disable double tap to zoom.

This commit is contained in:
2025-04-29 11:18:59 +08:00
parent bf7b90313a
commit b37ea01aca
5 changed files with 19 additions and 0 deletions

View File

@@ -113,6 +113,14 @@ class _ReaderSettingsState extends State<ReaderSettings> {
},
),
),
_SwitchSetting(
title: 'Double tap to zoom'.tl,
settingKey: 'enableDoubleTapToZoom',
onChanged: () {
setState(() {});
widget.onChanged?.call('enableDoubleTapToZoom');
},
).toSliver(),
_SwitchSetting(
title: 'Long press to zoom'.tl,
settingKey: 'enableLongPressToZoom',