From a9580bb006249f740e164ff14380220271e6e700 Mon Sep 17 00:00:00 2001 From: Satindar Dhillon Date: Wed, 23 Feb 2022 09:31:56 -0800 Subject: [PATCH] add bar button item to navigate to profile on iphone --- .../Views/PrimaryContainerViews/HomeFeedView.swift | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/apple/OmnivoreKit/Sources/Views/PrimaryContainerViews/HomeFeedView.swift b/apple/OmnivoreKit/Sources/Views/PrimaryContainerViews/HomeFeedView.swift index 5c9010888..ade88c42a 100644 --- a/apple/OmnivoreKit/Sources/Views/PrimaryContainerViews/HomeFeedView.swift +++ b/apple/OmnivoreKit/Sources/Views/PrimaryContainerViews/HomeFeedView.swift @@ -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