From bdb63e9ec1d3cdc5587797185a984ad56d4b19ea Mon Sep 17 00:00:00 2001 From: blackxfiied <41133734+blackxfiied@users.noreply.github.com> Date: Tue, 18 Jun 2024 22:46:09 +0800 Subject: [PATCH] refactor: remove unnecessary logic --- Mythic/Views/Navigation/Library/Library.swift | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Mythic/Views/Navigation/Library/Library.swift b/Mythic/Views/Navigation/Library/Library.swift index fe263903..7cf688f9 100644 --- a/Mythic/Views/Navigation/Library/Library.swift +++ b/Mythic/Views/Navigation/Library/Library.swift @@ -25,14 +25,9 @@ struct LibraryView: View { // MARK: - State Variables @State private var isGameImportSheetPresented = false - @State private var legendaryStatus: JSON = JSON() - @State private var isDownloadsPopoverPresented: Bool = false - - @State private var searchText: String = .init() // MARK: - Body var body: some View { - // GameListView(isRefreshCalled: $isGameListRefreshCalled, searchText: $searchText) GameListEvo() .navigationTitle("Library") @@ -49,7 +44,7 @@ struct LibraryView: View { // MARK: Refresh Button Button { - _ = unifiedGames // getter updates computer property + } label: { Image(systemName: "arrow.clockwise") }