mirror of
https://github.com/kiwix/kiwix-apple.git
synced 2025-09-14 06:39:05 -04:00
Remove unused env object
This commit is contained in:
parent
83e54cacbf
commit
b4d46e2b1e
@ -227,7 +227,6 @@ private struct CompactView: View {
|
|||||||
Spacer()
|
Spacer()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.environmentObject(browser)
|
|
||||||
.sheet(item: $presentedSheet) { presentedSheet in
|
.sheet(item: $presentedSheet) { presentedSheet in
|
||||||
switch presentedSheet {
|
switch presentedSheet {
|
||||||
case .library(downloads: false):
|
case .library(downloads: false):
|
||||||
|
@ -17,7 +17,6 @@ import SwiftUI
|
|||||||
|
|
||||||
#if os(iOS)
|
#if os(iOS)
|
||||||
struct TabsManagerButton: View {
|
struct TabsManagerButton: View {
|
||||||
@EnvironmentObject private var browser: BrowserViewModel
|
|
||||||
@EnvironmentObject private var navigation: NavigationViewModel
|
@EnvironmentObject private var navigation: NavigationViewModel
|
||||||
@State private var presentedSheet: PresentedSheet?
|
@State private var presentedSheet: PresentedSheet?
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user