forked from shadowfacts/Tusker
Disable profile screen compose button when logged out
This commit is contained in:
parent
fdcd2aa540
commit
4cf56685b5
@ -74,6 +74,7 @@ class ProfileViewController: UIPageViewController {
|
|||||||
self.composeDirectMentioning()
|
self.composeDirectMentioning()
|
||||||
})
|
})
|
||||||
])
|
])
|
||||||
|
composeButton.isEnabled = mastodonController.loggedIn
|
||||||
navigationItem.rightBarButtonItem = composeButton
|
navigationItem.rightBarButtonItem = composeButton
|
||||||
|
|
||||||
headerView = ProfileHeaderView.create()
|
headerView = ProfileHeaderView.create()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user