add NavigationManager for programatic navigation from the root

This commit is contained in:
Felix Förtsch
2024-11-04 14:43:47 +01:00
parent c722d59aff
commit 19b3d89010
6 changed files with 73 additions and 12 deletions
@@ -7,10 +7,9 @@
import SwiftUI
// TODO: We need color pairs (one for light mode one for dark)
struct WorkoutIconSelector: View {
@State var workout: Workout
@State private var searchText: String = ""
var filteredIcons: [String] {
if searchText.isEmpty {