~singpolyma/cheogram-android

871be920ee7e337221a8f8f1dfdcc9cc9796867c — Stephen Paul Weber 1 year, 1 month ago 908d9b4
Fix NPE
1 files changed, 1 insertions(+), 1 deletions(-)

M src/main/java/eu/siacs/conversations/ui/ConversationsOverviewFragment.java
M src/main/java/eu/siacs/conversations/ui/ConversationsOverviewFragment.java => src/main/java/eu/siacs/conversations/ui/ConversationsOverviewFragment.java +1 -1
@@ 316,7 316,7 @@ public class ConversationsOverviewFragment extends XmppFragment {
		AccountUtils.showHideMenuItems(menu);
		final MenuItem easyOnboardInvite = menu.findItem(R.id.action_easy_invite);
		easyOnboardInvite.setVisible(EasyOnboardingInvite.anyHasSupport(activity == null ? null : activity.xmppConnectionService));
		if (activity.xmppConnectionService != null && activity.xmppConnectionService.isOnboarding()) {
		if (activity != null && activity.xmppConnectionService != null && activity.xmppConnectionService.isOnboarding()) {
			final MenuItem manageAccounts = menu.findItem(R.id.action_accounts);
			if (manageAccounts != null) manageAccounts.setVisible(false);