mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
add bar button item to navigate to profile on iphone
This commit is contained in:
parent
578dd80be0
commit
a9580bb006
1 changed files with 8 additions and 0 deletions
|
|
@ -259,6 +259,14 @@ public struct HomeFeedView: View {
|
|||
if UIDevice.isIPhone {
|
||||
NavigationView {
|
||||
conditionalInnerBody
|
||||
.toolbar {
|
||||
ToolbarItem {
|
||||
Button(
|
||||
action: { print("Profile") },
|
||||
label: { Image.profileTab.padding() }
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
conditionalInnerBody
|
||||
|
|
|
|||
Loading…
Reference in a new issue