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:
parent
2bb662fd60
commit
bd46ff3e03
1 changed files with 3 additions and 0 deletions
|
|
@ -52,6 +52,9 @@ class SwitchSeerrViewModel
|
|||
_state.update { it.copy(loading = LoadingState.Success) }
|
||||
}
|
||||
}
|
||||
} else {
|
||||
// Nothing to check so set success
|
||||
_state.update { it.copy(loading = LoadingState.Success) }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue