Skip to content

Improve platform detection and code initialization - #1713

Merged
clairernovotny merged 1 commit into
mainfrom
post-updates-fixes
Mar 7, 2025
Merged

clairernovotny merged 1 commit into
mainfrom
post-updates-fixes

Conversation

@clairernovotny

Copy link
Copy Markdown
Member

Improve platform detection and code initialization

  • Refactored isWindows10S initialization in AppCompat.cs to use a lambda expression.
  • Updated conditional compilation directives from NET5_0 to NET5_0_OR_GREATER in AppCompat.cs.
  • Added and removed using directives in ViewContentCommand.cs, and included a check for AppCompat.IsWindows10S in FindContentViewer.
  • Changed conditional compilation in PackageViewModel.cs and PackageViewModelFactory.cs from NETSTANDARD2_1 to HAS_UNO to enhance platform detection.

- Refactored `isWindows10S` initialization in `AppCompat.cs` to use a lambda expression.
- Updated conditional compilation directives from `NET5_0` to `NET5_0_OR_GREATER` in `AppCompat.cs`.
- Added and removed using directives in `ViewContentCommand.cs`, and included a check for `AppCompat.IsWindows10S` in `FindContentViewer`.
- Changed conditional compilation in `PackageViewModel.cs` and `PackageViewModelFactory.cs` from `NETSTANDARD2_1` to `HAS_UNO` to enhance platform detection.
@github-actions

github-actions Bot commented Mar 7, 2025

Copy link
Copy Markdown

@github-actions

github-actions Bot commented Mar 7, 2025

Copy link
Copy Markdown

@clairernovotny
clairernovotny merged commit e4db014 into main Mar 7, 2025
@clairernovotny
clairernovotny deleted the post-updates-fixes branch March 7, 2025 18:44
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.

1 participant