Disable profile screen compose button when logged out

This commit is contained in:
Shadowfacts 2021-06-27 10:31:02 -04:00
parent fdcd2aa540
commit 4cf56685b5
1 changed files with 1 additions and 0 deletions

View File

@ -74,6 +74,7 @@ class ProfileViewController: UIPageViewController {
self.composeDirectMentioning()
})
])
composeButton.isEnabled = mastodonController.loggedIn
navigationItem.rightBarButtonItem = composeButton
headerView = ProfileHeaderView.create()