Skip to content

Fix adb test feedback#517

Merged
rteyssandier merged 2 commits intoopenflocon:mainfrom
snappdevelopment:fix-adb-path-feedback
Apr 5, 2026
Merged

Fix adb test feedback#517
rteyssandier merged 2 commits intoopenflocon:mainfrom
snappdevelopment:fix-adb-path-feedback

Conversation

@snappdevelopment
Copy link
Copy Markdown
Contributor

Hi,
I noticed that the feedback strings for the adb test are reversed. It shows "Failed!" when it is actually a success.
I switched them around and added the error message of the Throwable in case of an error, to give the user more infos on what could be wrong.

It looks like this now:
Screenshot

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the ADB test feedback mechanism in SettingsViewModel to correctly display error messages instead of success messages upon failure. I have suggested an improvement to ensure the UI correctly applies error styling by explicitly passing the error message type to the feedback displayer.

@rteyssandier rteyssandier merged commit 0a33610 into openflocon:main Apr 5, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants