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

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