Optional to automatically go to new page on focus instead of clicking (#127)

Closes #95 

Adds a setting (defaults to enabled) to automatically go to a page when
the navigation drawer item is focused after a brief delay.

Basically, if you open the left nav drawer, and scroll down to "Movies"
after a brief delay (600ms), the app will switch to the Movies page
without having to click.

It can be disabled in advanced settings.
This commit is contained in:
damontecres 2025-10-31 15:09:13 -04:00 committed by GitHub
parent 26cc092402
commit 9f3691fd1b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 137 additions and 17 deletions

View file

@ -21,7 +21,7 @@
<string name="cancel">Cancel</string>
<string name="save">Save</string>
<string name="app_name_long">Wholphin</string>
<string name="basic_interface">Basic Interface</string>
<string name="ui_interface">Interface</string>
<string name="playback">Playback</string>
<string name="about">About</string>
<string name="advanced_settings">Advanced Settings</string>
@ -98,5 +98,7 @@
<string name="send_app_logs_summary">Useful for debugging</string>
<string name="global_content_scale">Default content scale</string>
<string name="ffmpeg_extension_pref">Use FFmpeg decoder module</string>
<string name="nav_drawer_switch_on_focus">Switch nav drawer pages on focus</string>
<string name="nav_drawer_switch_on_focus_summary_off">Click to switch pages</string>
</resources>