mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-07-08 23:51:21 +02:00
Fix wrong dialog showing after Seerr login (#688)
**Description** Fixes a race condition in the Seerr integration. When you added a new Seerr server and logged in successfully, the app would immediately show the "Disable Seerr?" dialog instead of a success message. The state was getting mixed up during recomposition and thinking you wanted to remove the server you just added. Fixed by being more explicit about what mode the dialog is in (adding vs removing) so it can't get confused by background state changes. Also added a success toast when login works. **AI/LLM usage** Used Claude Code to analyze the issue.
This commit is contained in:
parent
7c018f9a37
commit
18e4877736
3 changed files with 40 additions and 14 deletions
|
|
@ -434,6 +434,7 @@
|
|||
<string name="pending">Pending</string>
|
||||
<string name="seerr_integration">Seerr integration</string>
|
||||
<string name="remove_seerr_server">Remove Seerr Server</string>
|
||||
<string name="seerr_server_added">Seerr server added</string>
|
||||
<string name="password">Password</string>
|
||||
<string name="username">Username</string>
|
||||
<string name="url">URL</string>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue