Hello , i hope someone can help me... I want to slide , but not found a solution for my problem.. Where can i add
to slide right ?
Code Block { withAnimation { goToFolders.toggle() } }
to slide right ?
Code Block private var folderButton: some View { Button(action:{ goToFolders = true }, label: { Image(systemName: "tray.2").imageScale(.large) }) .background( NavigationLink(destination: FolderOverView() .environment(\.managedObjectContext, PersitentDataProvider.dataProvider.persistentContainer.viewContext), isActive: $goToFolders) { EmptyView() } .hidden() ) }