Fixes to v1.0.7 (#1953)

## Description
Collection of minor bug fixes for `v1.0.7`

- Fixes a possible race condition crash when navigating to the search
page
- Uses friendlier error message when login fails due to parental
restrictions (based on
[`jellyfin-web`](https://github.com/jellyfin/jellyfin-web/blob/v10.11.11/src/controllers/session/login/index.js#L38-L41))
- Don't re-sort search results by name, just by relevance scoring
- Consume the key event when dim is active (ie if the screen is dimmed,
pressing a key will un-dim and not perform another action)

### Related issues
Fixes #1922 
Fixes #1951
Related to #1848 (search sorting)

### Testing
Emulator & nvidia shield

## Screenshots
N/A

## AI or LLM usage
None
This commit is contained in:
Damontecres 2026-09-11 15:40:11 -04:00 • committed by GitHub
parent 6486bd19ed
commit 616565f671
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 70 additions and 28 deletions

View file

@ -288,7 +288,7 @@ class MainActivity : AppCompatActivity() {
}
override fun dispatchKeyEvent(event: KeyEvent): Boolean {
if (screensaverService.state.value.show) {
if (screensaverService.state.value.run { show || showDim }) {
screensaverService.stop(false)
screensaverService.pulse()
return true