From 7241da146932537811f27733d8f7c9cc3e875c0f Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Fri, 8 Dec 2023 12:17:07 +0800 Subject: [PATCH] Remove old profile code --- .../Sources/App/Views/Home/HomeFeedViewIOS.swift | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/apple/OmnivoreKit/Sources/App/Views/Home/HomeFeedViewIOS.swift b/apple/OmnivoreKit/Sources/App/Views/Home/HomeFeedViewIOS.swift index cb0f2d52a..9b1c8c40b 100644 --- a/apple/OmnivoreKit/Sources/App/Views/Home/HomeFeedViewIOS.swift +++ b/apple/OmnivoreKit/Sources/App/Views/Home/HomeFeedViewIOS.swift @@ -29,7 +29,6 @@ struct AnimatingCellHeight: AnimatableModifier { @State var hasHighlightMutations = false @State var searchPresented = false @State var addLinkPresented = false - @State var settingsPresented = false @State var isListScrolled = false @State var listTitle = "" @State var isEditMode: EditMode = .inactive @@ -179,11 +178,6 @@ struct AnimatingCellHeight: AnimatableModifier { LibraryAddLinkView() } } - .sheet(isPresented: $settingsPresented) { - NavigationView { - ProfileView() - } - } .task { if viewModel.fetcher.items.isEmpty { loadItems(isRefresh: false) @@ -248,10 +242,6 @@ struct AnimatingCellHeight: AnimatableModifier { Button(action: { addLinkPresented = true }, label: { Label("Add Link", systemImage: "plus.circle") }) - Button(action: { settingsPresented = true }, label: { - Label(LocalText.genericProfile, systemImage: "person.circle") - }) - }, label: { Image.utilityMenu })