Revert nav drawer on focus #127 (#140)

Temporarily reverts #127 and reopens #95

It needs more refinement.
This commit is contained in:
damontecres 2025-11-02 17:06:06 -05:00 committed by GitHub
parent d76f829804
commit fe0f96d413
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View file

@ -683,7 +683,8 @@ val advancedPreferences =
preferences = preferences =
listOf( listOf(
AppPreference.CombineContinueNext, AppPreference.CombineContinueNext,
AppPreference.NavDrawerSwitchOnFocus, // Temporarily disabled, see https://github.com/damontecres/Wholphin/pull/127#issuecomment-3478058418
// AppPreference.NavDrawerSwitchOnFocus,
AppPreference.ControllerTimeout, AppPreference.ControllerTimeout,
), ),
), ),

View file

@ -253,7 +253,8 @@ fun NavDrawer(
} }
} }
} }
if (preferences.appPreferences.interfacePreferences.navDrawerSwitchOnFocus) { // Temporarily disabled, see https://github.com/damontecres/Wholphin/pull/127#issuecomment-3478058418
if (false && preferences.appPreferences.interfacePreferences.navDrawerSwitchOnFocus) {
LaunchedEffect(derivedFocusedIndex) { LaunchedEffect(derivedFocusedIndex) {
val index = derivedFocusedIndex val index = derivedFocusedIndex
delay(600) delay(600)