From 1d953ccfb248f1bb395191d0474f3446d052d2a5 Mon Sep 17 00:00:00 2001 From: neuecc Date: Sat, 15 Feb 2025 14:06:05 +0900 Subject: [PATCH] fix R3.Uno --- .../BlazorWebAssemblyApp1.csproj | 26 +++++++++---------- sandbox/UnoSampleApp/.editorconfig | 1 - .../Styles/ColorPaletteOverride.xaml | 24 ++++++++--------- src/R3.Uno/ObserveOnExtensions.cs | 12 ++++----- src/R3.Uno/R3.Uno.csproj | 9 +++++++ 5 files changed, 40 insertions(+), 32 deletions(-) diff --git a/sandbox/BlazorWebAssemblyApp1/BlazorWebAssemblyApp1.csproj b/sandbox/BlazorWebAssemblyApp1/BlazorWebAssemblyApp1.csproj index aa26b10..4d48f52 100644 --- a/sandbox/BlazorWebAssemblyApp1/BlazorWebAssemblyApp1.csproj +++ b/sandbox/BlazorWebAssemblyApp1/BlazorWebAssemblyApp1.csproj @@ -1,19 +1,19 @@ - - net8.0 - enable - enable - false - + + net8.0 + enable + enable + false + - - - - + + + + - - - + + + diff --git a/sandbox/UnoSampleApp/.editorconfig b/sandbox/UnoSampleApp/.editorconfig index ee73562..99d8569 100644 --- a/sandbox/UnoSampleApp/.editorconfig +++ b/sandbox/UnoSampleApp/.editorconfig @@ -10,7 +10,6 @@ root = true [*] indent_style = space -end_of_line = crlf trim_trailing_whitespace = true insert_final_newline = true charset = utf-8 diff --git a/sandbox/UnoSampleApp/UnoSampleApp/Styles/ColorPaletteOverride.xaml b/sandbox/UnoSampleApp/UnoSampleApp/Styles/ColorPaletteOverride.xaml index b47f330..6993f78 100644 --- a/sandbox/UnoSampleApp/UnoSampleApp/Styles/ColorPaletteOverride.xaml +++ b/sandbox/UnoSampleApp/UnoSampleApp/Styles/ColorPaletteOverride.xaml @@ -1,8 +1,9 @@ - + #5946D2 + #5946D2 #FFFFFF #E5DEFF #170065 @@ -15,8 +16,8 @@ #CFE4FF #001D36 #B3261E - #F9DEDC #FFFFFF + #F9DEDC #410E0B #FCFBFF #1C1B1F @@ -25,14 +26,14 @@ #F2EFF5 #8B8494 #79747E - #F4EFF4 - #313033 - #C8BFFF - #5946D2 #C9C5D0 + #E6E1E5 + #1C1B1F + #2A009F #C7BFFF + #C7BFFF #2A009F #4129BA #E4DFFF @@ -45,8 +46,8 @@ #00497D #D1E4FF #FFB4AB - #93000A #690005 + #93000A #FFDAD6 #1C1B1F #E5E1E6 @@ -55,11 +56,10 @@ #47464F #C9C5D0 #928F99 - #1C1B1F - #E6E1E5 - #2A009F - #C7BFFF #57545D + #E6E1E5 + #1C1B1F + #2A009F - + \ No newline at end of file diff --git a/src/R3.Uno/ObserveOnExtensions.cs b/src/R3.Uno/ObserveOnExtensions.cs index 4c6aebe..aed0894 100644 --- a/src/R3.Uno/ObserveOnExtensions.cs +++ b/src/R3.Uno/ObserveOnExtensions.cs @@ -83,11 +83,11 @@ internal sealed class ObserveOnDispatcher(Observable source, CoreDispatche running = true; if (dispatcherPriority == null) { - dispatcher.RunAsync(CoreDispatcherPriority.Normal, postCallback); + _ = dispatcher.RunAsync(CoreDispatcherPriority.Normal, postCallback); } else { - dispatcher.RunAsync(dispatcherPriority.Value, postCallback); + _ = dispatcher.RunAsync(dispatcherPriority.Value, postCallback); } } } @@ -168,11 +168,11 @@ internal sealed class ObserveOnDispatcher(Observable source, CoreDispatche // post again if (dispatcherPriority == null) { - dispatcher.RunAsync(CoreDispatcherPriority.Normal, postCallback); + _ = dispatcher.RunAsync(CoreDispatcherPriority.Normal, postCallback); } else { - dispatcher.RunAsync(dispatcherPriority.Value, postCallback); + _ = dispatcher.RunAsync(dispatcherPriority.Value, postCallback); } return; } @@ -216,11 +216,11 @@ internal sealed class SubscribeOnDispatcher(Observable source, CoreDispatc { if (dispatcherPriority == null) { - dispatcher.RunAsync(CoreDispatcherPriority.Normal, postCallback); + _ = dispatcher.RunAsync(CoreDispatcherPriority.Normal, postCallback); } else { - dispatcher.RunAsync(dispatcherPriority.Value, postCallback); + _ = dispatcher.RunAsync(dispatcherPriority.Value, postCallback); } return this; } diff --git a/src/R3.Uno/R3.Uno.csproj b/src/R3.Uno/R3.Uno.csproj index 88e634d..4ee0b32 100644 --- a/src/R3.Uno/R3.Uno.csproj +++ b/src/R3.Uno/R3.Uno.csproj @@ -5,8 +5,17 @@ enable enable 1701;1702;CS8002 + + + R3Extensions.Uno + rx + Uno Provider and Methods for R3. + + + +