File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed
TableProMobile/TableProMobile/Views Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -84,15 +84,17 @@ struct ConnectedView: View {
8484 }
8585 . navigationTitle ( displayName)
8686 . navigationBarTitleDisplayMode ( . inline)
87- . toolbar {
88- ToolbarItem ( placement: . principal) {
89- Picker ( " Tab " , selection: $selectedTab) {
90- Text ( " Tables " ) . tag ( ConnectedTab . tables)
91- Text ( " Query " ) . tag ( ConnectedTab . query)
92- }
93- . pickerStyle ( . segmented)
94- . frame ( width: 200 )
87+ . safeAreaInset ( edge: . top) {
88+ Picker ( " Tab " , selection: $selectedTab) {
89+ Text ( " Tables " ) . tag ( ConnectedTab . tables)
90+ Text ( " Query " ) . tag ( ConnectedTab . query)
9591 }
92+ . pickerStyle ( . segmented)
93+ . padding ( . horizontal)
94+ . padding ( . vertical, 8 )
95+ . background ( . bar)
96+ }
97+ . toolbar {
9698 if supportsDatabaseSwitching && databases. count > 1 {
9799 ToolbarItem ( placement: . topBarLeading) {
98100 Menu {
You can’t perform that action at this time.
0 commit comments