Fix adding Seerr server if plugin is not installed (#2179)

## Description
If the server plugin is not installed, trying to add Seerr server will
show an endless loading page. This PR fixes that.

### Related issues
Fixes #2177

### Testing
Emulator against server with & without the plugin

## Screenshots
N/A

## AI or LLM usage
None
This commit is contained in:
Damontecres 2026-11-05 17:13:09 -05:00 • committed by GitHub
parent 2bb662fd60
commit bd46ff3e03
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -52,6 +52,9 @@ class SwitchSeerrViewModel
_state.update { it.copy(loading = LoadingState.Success) } _state.update { it.copy(loading = LoadingState.Success) }
} }
} }
} else {
// Nothing to check so set success
_state.update { it.copy(loading = LoadingState.Success) }
} }
} }