Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit ff52690

Browse files
committed
Remove unnecessary statements.
1 parent 14759f3 commit ff52690

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/GitHub.Exports.Reactive/Collections/TrackingCollection.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ public static ObservableCollection<T> CreateListenerCollection<T>(this ITracking
9696
if (hasStickieItem)
9797
{
9898
result.Remove(stickieItemOnTop);
99-
hasStickieItem = false;
10099
}
101100

102101
hasSelection = false;
@@ -106,7 +105,6 @@ public static ObservableCollection<T> CreateListenerCollection<T>(this ITracking
106105
if (!hasStickieItem)
107106
{
108107
result.Insert(0, stickieItemOnTop);
109-
hasStickieItem = true;
110108
}
111109

112110
hasSelection = true;

0 commit comments

Comments
 (0)