Skip to content

Commit

Permalink
chore: Adjust build
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinZikmund committed May 22, 2024
1 parent b580ed1 commit a5eb04e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ partial class SelectorBar
{
private ItemsView? _itemsView;

private readonly SerialDisposable _loadedRevoker = new();
// private readonly SerialDisposable _loadedRevoker = new();

Check warning on line 15 in src/Uno.UI/Microsoft/UI/Xaml/Controls/SelectorBar/SelectorBar.h.mux.cs

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

src/Uno.UI/Microsoft/UI/Xaml/Controls/SelectorBar/SelectorBar.h.mux.cs#L15

Remove this commented out code.

private readonly SerialDisposable _itemsViewSelectedItemPropertyChangedRevoker = new();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -32,7 +32,7 @@ public SelectorBar()
SetValue(ItemsProperty, items);

Loaded += OnLoaded;
_loadedRevoker.Disposable = Disposable.Create(() => Loaded -= OnLoaded);
// _loadedRevoker.Disposable = Disposable.Create(() => Loaded -= OnLoaded);

Check warning on line 35 in src/Uno.UI/Microsoft/UI/Xaml/Controls/SelectorBar/SelectorBar.mux.cs

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

src/Uno.UI/Microsoft/UI/Xaml/Controls/SelectorBar/SelectorBar.mux.cs#L35

Remove this commented out code.
}

//SelectorBar.~public SelectorBar()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit a5eb04e

Please sign in to comment.