From 7e4cb3b244a531d59378835d9faf336bb455a09d Mon Sep 17 00:00:00 2001 From: Martin Zikmund Date: Fri, 26 Apr 2024 12:35:48 +0200 Subject: [PATCH] chore: Adjust build --- .../UI/Xaml/Controls/SelectorBar/SelectorBar.h.mux.cs | 2 +- .../Microsoft/UI/Xaml/Controls/SelectorBar/SelectorBar.mux.cs | 4 ++-- .../UI/Xaml/Controls/SelectorBar/SelectorBarItem.mux.cs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Uno.UI/Microsoft/UI/Xaml/Controls/SelectorBar/SelectorBar.h.mux.cs b/src/Uno.UI/Microsoft/UI/Xaml/Controls/SelectorBar/SelectorBar.h.mux.cs index f5820e2cdf94..edab670f0600 100644 --- a/src/Uno.UI/Microsoft/UI/Xaml/Controls/SelectorBar/SelectorBar.h.mux.cs +++ b/src/Uno.UI/Microsoft/UI/Xaml/Controls/SelectorBar/SelectorBar.h.mux.cs @@ -12,7 +12,7 @@ partial class SelectorBar { private ItemsView? _itemsView; - private readonly SerialDisposable _loadedRevoker = new(); + // private readonly SerialDisposable _loadedRevoker = new(); private readonly SerialDisposable _itemsViewSelectedItemPropertyChangedRevoker = new(); diff --git a/src/Uno.UI/Microsoft/UI/Xaml/Controls/SelectorBar/SelectorBar.mux.cs b/src/Uno.UI/Microsoft/UI/Xaml/Controls/SelectorBar/SelectorBar.mux.cs index 6950ed613042..1c48d6e9783a 100644 --- a/src/Uno.UI/Microsoft/UI/Xaml/Controls/SelectorBar/SelectorBar.mux.cs +++ b/src/Uno.UI/Microsoft/UI/Xaml/Controls/SelectorBar/SelectorBar.mux.cs @@ -9,7 +9,7 @@ using Uno.UI.Helpers.WinUI; using Windows.Foundation.Collections; using static Uno.UI.Helpers.WinUI.CppWinRTHelpers; -using static Microsoft.UI.Xaml.Controls._Tracing; +using static Microsoft/* UWP don't rename */.UI.Xaml.Controls._Tracing; namespace Microsoft.UI.Xaml.Controls; @@ -32,7 +32,7 @@ public SelectorBar() SetValue(ItemsProperty, items); Loaded += OnLoaded; - _loadedRevoker.Disposable = Disposable.Create(() => Loaded -= OnLoaded); + // _loadedRevoker.Disposable = Disposable.Create(() => Loaded -= OnLoaded); } //SelectorBar.~public SelectorBar() diff --git a/src/Uno.UI/Microsoft/UI/Xaml/Controls/SelectorBar/SelectorBarItem.mux.cs b/src/Uno.UI/Microsoft/UI/Xaml/Controls/SelectorBar/SelectorBarItem.mux.cs index 1ccf2d468513..add5e8e22268 100644 --- a/src/Uno.UI/Microsoft/UI/Xaml/Controls/SelectorBar/SelectorBarItem.mux.cs +++ b/src/Uno.UI/Microsoft/UI/Xaml/Controls/SelectorBar/SelectorBarItem.mux.cs @@ -7,7 +7,7 @@ using System.Diagnostics.CodeAnalysis; using Microsoft.UI.Xaml.Automation.Peers; using Microsoft.UI.Xaml.Media; -using static Microsoft.UI.Xaml.Controls._Tracing; +using static Microsoft/* UWP don't rename */.UI.Xaml.Controls._Tracing; namespace Microsoft.UI.Xaml.Controls;