From 4cf56685b5acc424d6c54d4db327d5a5f1783a26 Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Sun, 27 Jun 2021 10:31:02 -0400 Subject: [PATCH] Disable profile screen compose button when logged out --- Tusker/Screens/Profile/ProfileViewController.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Tusker/Screens/Profile/ProfileViewController.swift b/Tusker/Screens/Profile/ProfileViewController.swift index 246c4924..c771d891 100644 --- a/Tusker/Screens/Profile/ProfileViewController.swift +++ b/Tusker/Screens/Profile/ProfileViewController.swift @@ -74,6 +74,7 @@ class ProfileViewController: UIPageViewController { self.composeDirectMentioning() }) ]) + composeButton.isEnabled = mastodonController.loggedIn navigationItem.rightBarButtonItem = composeButton headerView = ProfileHeaderView.create()