From f99b74dd980826e101520692b6231f8232f1bdae Mon Sep 17 00:00:00 2001 From: Justin Mazzocchi <2831158+jzzocc@users.noreply.github.com> Date: Sat, 6 Feb 2021 14:08:49 -0800 Subject: [PATCH] Hide actions on own profile --- View Controllers/ProfileViewController.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/View Controllers/ProfileViewController.swift b/View Controllers/ProfileViewController.swift index 4fe62bc..e34043b 100644 --- a/View Controllers/ProfileViewController.swift +++ b/View Controllers/ProfileViewController.swift @@ -36,6 +36,7 @@ final class ProfileViewController: TableViewController { self.sizeTableHeaderFooterViews() if let accountViewModel = $0, + accountViewModel.id != self.viewModel.identityContext.identity.account?.id, let relationship = accountViewModel.relationship { self.navigationItem.rightBarButtonItem = UIBarButtonItem( image: UIImage(systemName: "ellipsis.circle"),