From bd46ff3e03c9a9f100fefcc2554be7c245a08c68 Mon Sep 17 00:00:00 2001 From: Damontecres Date: Thu, 5 Nov 2026 17:13:09 -0500 Subject: [PATCH] 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 --- .../wholphin/ui/setup/seerr/SwitchSeerrViewModel.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/java/com/github/damontecres/wholphin/ui/setup/seerr/SwitchSeerrViewModel.kt b/app/src/main/java/com/github/damontecres/wholphin/ui/setup/seerr/SwitchSeerrViewModel.kt index 2fde3eae..e7ec173a 100644 --- a/app/src/main/java/com/github/damontecres/wholphin/ui/setup/seerr/SwitchSeerrViewModel.kt +++ b/app/src/main/java/com/github/damontecres/wholphin/ui/setup/seerr/SwitchSeerrViewModel.kt @@ -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) } } }