add 'Long press to zoom' setting

This commit is contained in:
2024-11-05 15:34:05 +08:00
parent adb6cdd0c1
commit afa320e863
4 changed files with 24 additions and 2 deletions

View File

@@ -54,6 +54,13 @@ class _ReaderSettingsState extends State<ReaderSettings> {
widget.onChanged?.call("autoPageTurningInterval");
},
).toSliver(),
_SwitchSetting(
title: 'Long press to zoom'.tl,
settingKey: 'enableLongPressToZoom',
onChanged: () {
widget.onChanged?.call('enableLongPressToZoom');
},
).toSliver(),
],
);
}