Skip to content

Version 9.0.1.2508#688

Merged
lpeyr merged 4 commits into
mainfrom
vNext
Aug 28, 2025
Merged

Version 9.0.1.2508#688
lpeyr merged 4 commits into
mainfrom
vNext

Conversation

@lpeyr

@lpeyr lpeyr commented Aug 28, 2025

Copy link
Copy Markdown
Member

This is an attempt to resolve issue #687.

This pull request introduces several improvements to error handling, code organization, and resource management throughout the application. The most notable changes include enhanced exception handling for network and status operations, refactoring of the home page view model to improve maintainability, and updates to resource file management. Additionally, the application version has been incremented, and the default update check behavior has been modified.

Error handling improvements:

  • Added try-catch blocks to GetCurrentSpeed() in NetworkHelper.cs and to network/status methods in HomePageViewModel.cs and MainViewModel.cs, preventing crashes due to unexpected exceptions and ensuring fallback values are provided. [1] [2] [3] [4] [5] [6] [7]

ViewModel refactoring and maintainability:

  • Refactored HomePageViewModel by extracting WiFi info and connection details loading into dedicated methods with error handling, improving code clarity and separation of concerns. [1] [2] [3]

Resource and theme management:

  • Removed unused theme-related image resources from the project file and resource inclusion lists, streamlining asset management. [1] [2]
  • Updated theme change logic to use the isDark flag for determining theme, ensuring correct theme application.

Configuration:

  • Changed the default setting for CheckUpdateOnStart to false, so update checks are not performed automatically on startup.

@lpeyr lpeyr self-assigned this Aug 28, 2025
@lpeyr lpeyr added bug Something isn't working vNext Feature selected for the next version labels Aug 28, 2025
@lpeyr lpeyr merged commit 9035b72 into main Aug 28, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working vNext Feature selected for the next version

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant