Skip to content

Improve MyAccount VM: error handling & code simplification#536

Merged
StuartFerguson merged 2 commits intomainfrom
task/#507_todo_complete
Apr 15, 2026
Merged

Improve MyAccount VM: error handling & code simplification#536
StuartFerguson merged 2 commits intomainfrom
task/#507_todo_complete

Conversation

@StuartFerguson
Copy link
Copy Markdown
Member

Refactored MyAccountOptions initialization with collection initializer syntax for clarity. Added error handling for merchant details fetch, displaying a warning toast on failure. Simplified CancellationChangeToken instantiation using target-typed new expressions.

closes #507

Refactored MyAccountOptions initialization with collection initializer syntax for clarity. Added error handling for merchant details fetch, displaying a warning toast on failure. Simplified CancellationChangeToken instantiation using target-typed new expressions.
@codacy-production
Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · -1 duplication

Metric Results
Complexity 0
Duplication -1

View in Codacy

TIP This summary will be updated as you push new changes. Give us feedback

@StuartFerguson StuartFerguson merged commit 996bf94 into main Apr 15, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BestPractice] Complete the task associated to this 'TODO' comment.

1 participant