File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -313,20 +313,18 @@ struct FileView: View {
313313 }
314314
315315 #if os(macOS)
316- // Menu for advanced actions
317- ToolbarItem {
316+ ToolbarItemGroup ( placement : . primaryAction ) {
317+ // Menu for advanced actions
318318 Menu {
319319 Button ( " Encryption details... " , systemImage: " lock.document.fill " ) { showEncryptionSheet = true }
320320 . disabled ( !( file. folder? . hasEncryptedPeers ?? false ) )
321-
321+
322322 Button ( " Explore archive contents... " , systemImage: " doc.zipper " ) { showArchive = true }
323323 } label: {
324324 Label ( " Advanced " , systemImage: " ellipsis.circle " )
325325 }
326- }
327-
328- // Open in Finder button
329- ToolbarItem ( id: " open-in-finder " , placement: . primaryAction) {
326+
327+ // Open in Finder button
330328 Button (
331329 openInFilesAppLabel, systemImage: " arrow.up.forward.app " ,
332330 action: {
You can’t perform that action at this time.
0 commit comments