Skip to content

Commit 9d84855

Browse files
committed
fix: potential repeat
1 parent fc229fc commit 9d84855

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Plain Craft Launcher 2/Pages/PageDownload/PageDownloadCompFavorites.xaml.vb

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
Private Function LoaderInput() As List(Of String)
2020
Dim TargetList As List(Of String)
2121
Try
22-
TargetList = CurrentFavTarget.Favs
22+
TargetList = CurrentFavTarget.Favs.Distinct().ToList()
2323
Catch ex As Exception
2424
Log(ex, "[Favorites] 加载收藏夹列表时出错")
2525
End Try

0 commit comments

Comments
 (0)