mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Dont use the following primer
This commit is contained in:
parent
225791a715
commit
17c4a9be37
1 changed files with 7 additions and 5 deletions
|
|
@ -23,7 +23,7 @@ struct LibraryTabView: View {
|
|||
@AppStorage(UserDefaultKey.lastSelectedTabItem.rawValue) var selectedTab = "inbox"
|
||||
@AppStorage(UserDefaultKey.followingPrimerDisplayed.rawValue) var followingPrimerDisplayed = false
|
||||
|
||||
@State var showFollowingPrimer = true
|
||||
@State var showFollowingPrimer = false
|
||||
@State var showExpandedAudioPlayer = false
|
||||
|
||||
private let syncManager = LibrarySyncManager()
|
||||
|
|
@ -74,10 +74,12 @@ struct LibraryTabView: View {
|
|||
|
||||
var body: some View {
|
||||
VStack(spacing: 0) {
|
||||
PresentationLink(transition: UIDevice.isIPad ? .popover : .sheet(detents: [.medium]), isPresented: $showFollowingPrimer) {
|
||||
FollowingViewModal()
|
||||
} label: {
|
||||
EmptyView()
|
||||
if showFollowingPrimer {
|
||||
PresentationLink(transition: UIDevice.isIPad ? .popover : .sheet(detents: [.medium]), isPresented: $showFollowingPrimer) {
|
||||
FollowingViewModal()
|
||||
} label: {
|
||||
EmptyView()
|
||||
}
|
||||
}
|
||||
|
||||
TabView(selection: $selectedTab) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue