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:
parent
eaefa366b7
commit
86d5a73c85
|
@ -83,8 +83,8 @@ extension MenuPreviewProvider {
|
||||||
]
|
]
|
||||||
|
|
||||||
return [
|
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: actionsSection),
|
||||||
UIMenu(title: "", image: nil, identifier: nil, options: [.displayInline], children: shareSection)
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -115,8 +115,8 @@ extension MenuPreviewProvider {
|
||||||
let shareSection = actionsForURL(hashtag.url, sourceView: sourceView)
|
let shareSection = actionsForURL(hashtag.url, sourceView: sourceView)
|
||||||
|
|
||||||
return [
|
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: actionsSection),
|
||||||
UIMenu(title: "", image: nil, identifier: nil, options: [.displayInline], children: shareSection)
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -174,8 +174,8 @@ extension MenuPreviewProvider {
|
||||||
]
|
]
|
||||||
|
|
||||||
return [
|
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: shareSection),
|
||||||
|
UIMenu(title: "", image: nil, identifier: nil, options: [.displayInline], children: actionsSection),
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue