Skip to content

Commit

Permalink
🔥 (LekaApp): Remove appearance toggles in MianView
Browse files Browse the repository at this point in the history
  • Loading branch information
HPezz committed Jan 24, 2024
1 parent 64839ab commit 44d261e
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions Apps/LekaApp/Sources/_NEWCodeBase/Views/MainView/MainView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -68,23 +68,6 @@ struct MainView: View {
// .disabled(navigation.disableUICompletly)
.navigationTitle(String(l10n.MainView.Sidebar.navigationTitle.characters))
.navigationBarTitleDisplayMode(.inline)
.toolbar {
ToolbarItem(placement: .topBarTrailing) {
Button {
self.styleManager.toggleAccentColor()
} label: {
Image(systemName: "eyedropper")
}
}

ToolbarItem(placement: .topBarTrailing) {
Button {
self.styleManager.toggleColorScheme()
} label: {
Image(systemName: "circle.lefthalf.filled")
}
}
}
} detail: {
NavigationStack(path: self.$navigation.path) {
switch self.navigation.selectedCategory {
Expand Down Expand Up @@ -135,5 +118,4 @@ struct MainView: View {
#Preview {
MainView()
.previewInterfaceOrientation(.landscapeLeft)
.environmentObject(StyleManager())
}

0 comments on commit 44d261e

Please sign in to comment.