Skip to content

Commit

Permalink
Add home toolbar
Browse files Browse the repository at this point in the history
  • Loading branch information
grgar committed Oct 8, 2023
1 parent 0b8759c commit e44e61e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Assets.xcassets/AccentColor.colorset/Contents.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0.576",
"green" : "0.557",
"red" : "0.557"
"blue" : "0.447",
"green" : "0.380",
"red" : "0.322"
}
},
"idiom" : "universal"
Expand Down
13 changes: 13 additions & 0 deletions ContentView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,19 @@ struct ContentView: View {
}
}
.listStyle(.sidebar)
.navigationTitle(Text("Passwords Inspector"))
.navigationBarTitleDisplayMode(.inline)
.toolbar {
ToolbarItemGroup(placement: .principal) {
Label {
Text("Passwords Inspector")
} icon: {
Image(systemName: "key.viewfinder")
}
.labelStyle(.titleAndIcon)
.foregroundStyle(.tint, .tertiary)
}
}
} content: {
EmptyView()
} detail: {
Expand Down

0 comments on commit e44e61e

Please sign in to comment.