uikit shenanigans: collectionview for the symbol picker??

This commit is contained in:
neon443 committed 2025-06-14 17:45:38 +01:00
1 parent 4c9e72fad2
commit 2dd2c51059
8 files changed
+194 -41

No files matched your search

+9 -8
View File
@@ -12,6 +12,7 @@ struct ContentView: View {
@StateObject var settingsModel: SettingsViewModel
@State private var showAddEventView: Bool = false
@State private var symbolSearchInput: String = ""
var body: some View {
NavigationSplitView {
@@ -34,6 +35,14 @@ struct ContentView: View {
Image(systemName: "tray.full")
Text("Archive")
}
NavigationLink {
SymbolsPicker(
selection: $symbolSearchInput
)
} label: {
Image(systemName: "star.circle")
Text("Symbols")
}
NavigationLink {
SettingsView(
viewModel: viewModel,
@@ -43,14 +52,6 @@ struct ContentView: View {
Image(systemName: "gear")
Text("Settings")
}
NavigationLink {
SymbolsPicker(
selection: .constant("")
)
} label: {
Image(systemName: "gear")
Text("Settings")
}
}
} detail: {
Text("Welcome to Near Future")
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.