Hide actions on own profile

This commit is contained in:
Justin Mazzocchi 2021-02-06 14:08:49 -08:00
parent 19eda1d322
commit f99b74dd98
No known key found for this signature in database
GPG Key ID: E223E6937AAFB01C
1 changed files with 1 additions and 0 deletions

View File

@ -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"),