Refactor views

This commit is contained in:
Arkadiusz Fal
2021-06-11 23:40:35 +02:00
parent 314c3b4968
commit 417ed0a8ee
8 changed files with 83 additions and 103 deletions

View File

@@ -18,7 +18,7 @@ struct ContentView: View {
.tag(TabSelection.channel)
}
SearchView()
SearchView(state: state, tabSelection: $tabSelection)
.tabItem { Image(systemName: "magnifyingglass") }
.tag(TabSelection.search)
}