toggleVolumePageTurningInverted method

void toggleVolumePageTurningInverted()

Inverts the current volume button page turning direction preference.

Implementation

void toggleVolumePageTurningInverted() async {
  await setPreference<bool>(
    key: 'volume_page_turning_inverted',
    value: !volumePageTurningInverted,
  );
}