diff --git a/DigitsGame/DigitsGame.Tests/DigitsGame.Tests.csproj b/DigitsGame/DigitsGame.Tests/DigitsGame.Tests.csproj index cd92a42..76f415a 100644 --- a/DigitsGame/DigitsGame.Tests/DigitsGame.Tests.csproj +++ b/DigitsGame/DigitsGame.Tests/DigitsGame.Tests.csproj @@ -1,7 +1,7 @@ - net8.0 + net10.0 enable enable true diff --git a/DigitsGame/DigitsGame/DigitsGame.csproj b/DigitsGame/DigitsGame/DigitsGame.csproj index d1682fd..989a536 100644 --- a/DigitsGame/DigitsGame/DigitsGame.csproj +++ b/DigitsGame/DigitsGame/DigitsGame.csproj @@ -1,74 +1,74 @@ - - - - net8.0-android;net8.0-ios;net8.0-maccatalyst;net8.0 - $(TargetFrameworks);net8.0-windows10.0.19041.0 - Exe - - - DigitsGame - true - true - - DigitsGame - - com.companyname.digitsgame - 25f39401-8c74-4bc9-abeb-61c13bdb1fd7 - - 1.0 - 1 - 14.2 - 14.0 - 21.0 - 10.0.17763.0 - 10.0.17763.0 - 6.5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + net10.0-android;net10.0-ios;net10.0-maccatalyst;net10.0 + $(TargetFrameworks);net10.0-windows10.0.19041.0 + Exe + + + DigitsGame + true + true + + DigitsGame + + com.companyname.digitsgame + 25f39401-8c74-4bc9-abeb-61c13bdb1fd7 + + 1.0 + 1 + 16.0 + 16.0 + 21.0 + 10.0.17763.0 + 10.0.17763.0 + 6.5 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/DigitsGame/DigitsGame/MauiProgram.cs b/DigitsGame/DigitsGame/MauiProgram.cs index fc620ea..70f81de 100644 --- a/DigitsGame/DigitsGame/MauiProgram.cs +++ b/DigitsGame/DigitsGame/MauiProgram.cs @@ -11,9 +11,6 @@ public static MauiApp CreateMauiApp() var builder = MauiApp.CreateBuilder(); builder .UseMauiReactorApp() -#if DEBUG - .EnableMauiReactorHotReload() -#endif .ConfigureFonts(fonts => { fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular"); diff --git a/DigitsGame/DigitsGame/Pages/Components/GameBoardNumberButton.cs b/DigitsGame/DigitsGame/Pages/Components/GameBoardNumberButton.cs index a2d3f97..8895932 100644 --- a/DigitsGame/DigitsGame/Pages/Components/GameBoardNumberButton.cs +++ b/DigitsGame/DigitsGame/Pages/Components/GameBoardNumberButton.cs @@ -66,9 +66,9 @@ public override VisualNode Render() { new Ellipse() .StrokeSize(_isSelected ? 0 : 3) - .StrokeColor(_isSelected ? Theme.GreenColor : Colors.Black) + .StrokeColor(_isSelected ? DigitsGame.Resources.Styles.Theme.GreenColor : Colors.Black) .StrokeDashPattern(_isSelected ? null : new[] { 3.0f, 2.0f }) - .FillColor(_isSelected ? Theme.GreenColor : Colors.White) + .FillColor(_isSelected ? DigitsGame.Resources.Styles.Theme.GreenColor : Colors.White) , new Text($"{State.PreviousValue ?? State.Number?.Value}") diff --git a/DigitsGame/DigitsGame/Pages/MainPage.cs b/DigitsGame/DigitsGame/Pages/MainPage.cs index 55626c8..29218ac 100644 --- a/DigitsGame/DigitsGame/Pages/MainPage.cs +++ b/DigitsGame/DigitsGame/Pages/MainPage.cs @@ -55,13 +55,13 @@ ContentPage RenderOnMobile() Grid("100,400", "*,*", Button("Game Board") .TextColor(currentView == PageView.GameBoard ? Colors.White : Colors.Black) - .BackgroundColor(currentView == PageView.GameBoard ? Theme.GreenColor : Colors.LightGray) + .BackgroundColor(currentView == PageView.GameBoard ? DigitsGame.Resources.Styles.Theme.GreenColor : Colors.LightGray) .OnClicked(()=>_mainStateParameter?.Set(_ => _.PageView = PageView.GameBoard)) .Margin(10), Button("Operations") .TextColor(currentView == PageView.OperationList ? Colors.White : Colors.Black) - .BackgroundColor(currentView == PageView.OperationList ? Theme.GreenColor : Colors.LightGray) + .BackgroundColor(currentView == PageView.OperationList ? DigitsGame.Resources.Styles.Theme.GreenColor : Colors.LightGray) .OnClicked(()=>_mainStateParameter?.Set(_ => _.PageView = PageView.OperationList)) .GridColumn(1) .Margin(10),