File tree Expand file tree Collapse file tree 1 file changed +20
-9
lines changed
Expand file tree Collapse file tree 1 file changed +20
-9
lines changed Original file line number Diff line number Diff line change @@ -169,15 +169,26 @@ private struct ContentView: View {
169169 #endif
170170 #if os(iOS)
171171 . toolbar {
172- Button (
173- openInFilesAppLabel, systemImage: " arrow.up.forward.app " ,
174- action: {
175- let documentsUrl = FileManager . default. urls (
176- for: . documentDirectory, in: . userDomainMask
177- ) . first!
178- openURLInSystemFilesApp ( url: documentsUrl)
179- }
180- ) . labelStyle ( . iconOnly)
172+ ToolbarItem {
173+ Button (
174+ openInFilesAppLabel, systemImage: " arrow.up.forward.app " ,
175+ action: {
176+ let documentsUrl = FileManager . default. urls (
177+ for: . documentDirectory, in: . userDomainMask
178+ ) . first!
179+ openURLInSystemFilesApp ( url: documentsUrl)
180+ }
181+ ) . labelStyle ( . iconOnly)
182+ }
183+
184+ ToolbarItem {
185+ Menu (
186+ content: {
187+ FolderMetricPickerView ( userSettings: appState. userSettings)
188+ } ,
189+ label: { Image ( systemName: " ellipsis.circle " ) . accessibilityLabel ( Text ( " Menu " ) ) }
190+ ) . labelStyle ( . iconOnly)
191+ }
181192 }
182193 #endif
183194 } ,
You can’t perform that action at this time.
0 commit comments