mirror of
https://github.com/kiwix/kiwix-apple.git
synced 2025-08-03 20:47:22 -04:00
Remove unused env object
This commit is contained in:
parent
83e54cacbf
commit
b4d46e2b1e
@ -227,7 +227,6 @@ private struct CompactView: View {
|
||||
Spacer()
|
||||
}
|
||||
}
|
||||
.environmentObject(browser)
|
||||
.sheet(item: $presentedSheet) { presentedSheet in
|
||||
switch presentedSheet {
|
||||
case .library(downloads: false):
|
||||
|
@ -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?
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user