Remove unused env object

This commit is contained in:
Balazs Perlaki-Horvath 2025-03-22 22:27:49 +01:00
parent 83e54cacbf
commit b4d46e2b1e
2 changed files with 0 additions and 2 deletions

View File

@ -227,7 +227,6 @@ private struct CompactView: View {
Spacer()
}
}
.environmentObject(browser)
.sheet(item: $presentedSheet) { presentedSheet in
switch presentedSheet {
case .library(downloads: false):

View File

@ -17,7 +17,6 @@ import SwiftUI
#if os(iOS)
struct TabsManagerButton: View {
@EnvironmentObject private var browser: BrowserViewModel
@EnvironmentObject private var navigation: NavigationViewModel
@State private var presentedSheet: PresentedSheet?