Wholphin/app
Damontecres d2bf5cd1e2
Fix library freeze if first item's title starts with a character not in the alphabet string (#1740)
## Description
A library's grid page tries to highlight the first letter of the focused
item. But if the first letter was a not in the alphabet string (which
varies by language), a exception was thrown on the main thread causing a
freeze.

This PR ensures only a non-negative index is highlighted on the letter
buttons.

### Related issues
Fixes #1361
Need to create an issue to improve alphabet letter button handling for
non-English alphabets

### Testing
Emulator, I manually passed a non-`[0-9A-Z]` character to replicate the
freeze

## Screenshots
N/A

## AI or LLM usage
None
2026-07-23 15:32:31 -04:00
..
config Add experimental MPV player backend (#161) 2025-11-16 18:46:25 -05:00
schemas/com.github.damontecres.wholphin.data.AppDatabase Add option to override user profile settings for audio & subtitle languages (#1680) 2026-07-14 14:17:31 -04:00
src Fix library freeze if first item's title starts with a character not in the alphabet string (#1740) 2026-07-23 15:32:31 -04:00
.gitignore Set update URL (#8) 2025-10-15 17:17:16 -04:00
build.gradle.kts Bump & clean up some dependencies (#1660) 2026-07-03 11:36:54 -04:00
proguard-rules.pro Fix subtitle outline width not applying in release builds (#1687) 2026-07-11 13:21:41 -04:00