Change menu item order

Open in Safari should be the closest to the user's finger when tapping a
menu button
This commit is contained in:
Shadowfacts 2020-08-15 17:19:45 -04:00
parent eaefa366b7
commit 86d5a73c85
Signed by untrusted user: shadowfacts
GPG Key ID: 94A5AB95422746E5
1 changed files with 3 additions and 3 deletions

View File

@ -83,8 +83,8 @@ extension MenuPreviewProvider {
]
return [
UIMenu(title: "", image: nil, identifier: nil, options: [.displayInline], children: shareSection),
UIMenu(title: "", image: nil, identifier: nil, options: [.displayInline], children: actionsSection),
UIMenu(title: "", image: nil, identifier: nil, options: [.displayInline], children: shareSection)
]
}
@ -115,8 +115,8 @@ extension MenuPreviewProvider {
let shareSection = actionsForURL(hashtag.url, sourceView: sourceView)
return [
UIMenu(title: "", image: nil, identifier: nil, options: [.displayInline], children: shareSection),
UIMenu(title: "", image: nil, identifier: nil, options: [.displayInline], children: actionsSection),
UIMenu(title: "", image: nil, identifier: nil, options: [.displayInline], children: shareSection)
]
}
@ -174,8 +174,8 @@ extension MenuPreviewProvider {
]
return [
UIMenu(title: "", image: nil, identifier: nil, options: [.displayInline], children: actionsSection),
UIMenu(title: "", image: nil, identifier: nil, options: [.displayInline], children: shareSection),
UIMenu(title: "", image: nil, identifier: nil, options: [.displayInline], children: actionsSection),
]
}