toggleVolumePageTurningEnabled method

void toggleVolumePageTurningEnabled()

Toggles the volume page turning option.

Implementation

void toggleVolumePageTurningEnabled() async {
  await setPreference<bool>(
    key: 'volume_page_turning_enabled',
    value: !volumePageTurningEnabled,
  );
}