mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-11-06 02:40:58 +01:00
Fixes for error handling, UI padding, & more (#1759)
## Description Another collection of small individual fixes that don't warrant a full PR: - Better error handling for series and collection detail pages - Better error handling on Discover search tab - Fix issues when changing view options on card grid without reloading the page - Better error handling when changing the refresh rate or resolution - Fix some nav drawer items disappearing briefly when restarting the app - Fix that the discover search row would not clear when the query is cleared And some UI tweaks: - Use consistent padding for the different customize home page sections - Convert the "Continue watching click behavior" setting from a toggle to choice dialog (the options & behaviors have not changed) ### Related issues I think the error handling when changing the refresh rate might help with #1737 ### Testing Emulator mostly ## Screenshots N/A, UI changes are minor ## AI or LLM usage None
This commit is contained in:
parent
2463841663
commit
8bae9c7f23
18 changed files with 149 additions and 96 deletions
|
|
@ -218,15 +218,16 @@ sealed interface AppPreference<Pref, T> {
|
|||
)
|
||||
|
||||
val HomeClickToPlay =
|
||||
AppSwitchPreference<AppPreferences>(
|
||||
AppChoicePreference<AppPreferences, Boolean>(
|
||||
title = R.string.continue_watching_click_behavior,
|
||||
defaultValue = false,
|
||||
getter = { it.homePagePreferences.clickToPlay },
|
||||
setter = { prefs, value ->
|
||||
prefs.updateHomePagePreferences { clickToPlay = value }
|
||||
},
|
||||
summaryOn = R.string.continue_watching_click_summary_on,
|
||||
summaryOff = R.string.continue_watching_click_summary_off,
|
||||
displayValues = R.array.home_click_to_play_options,
|
||||
indexToValue = { it != 0 },
|
||||
valueToIndex = { if (it) 1 else 0 },
|
||||
)
|
||||
|
||||
val PlayThemeMusic =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue