Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup #9

Merged
merged 5 commits into from
Nov 19, 2024
Merged

Cleanup #9

merged 5 commits into from
Nov 19, 2024

Conversation

IeuanWalker
Copy link
Owner

  • Fix warning from .net 9 update
  • Update dependencies

Refactored App.xaml.cs to use CreateWindow method for initializing the main window with AppShell content. Updated TestViewModel.cs to access the main page through Application.Current?.Windows[0].Page for better multi-window support.
Added <MauiEnableXamlCBindingWithSourceCompilation> property in App.csproj to enable XAML compilation with source generation for bindings. Updated various XAML files to include x:DataType attributes for better type checking and IntelliSense support.
Updated App.csproj and IeuanWalker.Maui.StateButton.csproj to include
a new package reference for Microsoft.Maui.Controls version 9.0.0.
This ensures that both the main project and the referenced project
can utilize the new functionality or components provided by
Microsoft.Maui.Controls.
Updated `CommunityToolkit.Maui` to `9.1.1`, `CommunityToolkit.Mvvm` to `8.3.2`, and `Microsoft.Maui.Controls` to `9.0.10` in `App.csproj`. In `IeuanWalker.Maui.StateButton.csproj`, removed and re-added `DotNet.ReproducibleBuilds` with version `1.2.25`, and updated `Microsoft.Maui.Controls` to `9.0.10`.
Refactored various files to improve code consistency and readability:
- Removed unnecessary spaces in `TapGestureRecognizer_OnTapped` method in `EventCommandPage.xaml.cs`.
- Reformatted permissions in `AndroidManifest.xml`.
- Removed `using Microsoft.Maui;` directive from `MainActivity.cs` and `AppDelegate.cs`.
- Adjusted spacing in `appicon.svg` and `appiconfg.svg`.
- Added DOCTYPE to `splash.svg` and adjusted `<path>` element formatting.
- Renamed `mainpage` to `mainPage` in `TestViewModel.cs` and removed extra spaces.
- Ensured consistent spacing in `CustomContentViewGroup.Android.cs` and `StateButton.xaml.cs`.
@IeuanWalker IeuanWalker merged commit 6c3112e into master Nov 19, 2024
1 check passed
@IeuanWalker IeuanWalker deleted the Cleanup branch November 19, 2024 18:25
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