mirror of
https://github.com/metabolist/metatext.git
synced 2024-11-25 09:41:00 +00:00
Hide actions on own profile
This commit is contained in:
parent
19eda1d322
commit
f99b74dd98
1 changed files with 1 additions and 0 deletions
|
@ -36,6 +36,7 @@ final class ProfileViewController: TableViewController {
|
||||||
self.sizeTableHeaderFooterViews()
|
self.sizeTableHeaderFooterViews()
|
||||||
|
|
||||||
if let accountViewModel = $0,
|
if let accountViewModel = $0,
|
||||||
|
accountViewModel.id != self.viewModel.identityContext.identity.account?.id,
|
||||||
let relationship = accountViewModel.relationship {
|
let relationship = accountViewModel.relationship {
|
||||||
self.navigationItem.rightBarButtonItem = UIBarButtonItem(
|
self.navigationItem.rightBarButtonItem = UIBarButtonItem(
|
||||||
image: UIImage(systemName: "ellipsis.circle"),
|
image: UIImage(systemName: "ellipsis.circle"),
|
||||||
|
|
Loading…
Reference in a new issue