Don't show Share menu for new contacts

This commit is contained in:
str4d
2014-08-20 05:07:29 +00:00
parent 3d378f24c8
commit 52833162d4
2 changed files with 2 additions and 3 deletions

View File

@@ -181,7 +181,8 @@ public class EditContactFragment extends EditPictureFragment {
shareIntent.putExtra(Intent.EXTRA_TEXT, mDestination);
shareIntent.setType("text/plain");
shareActionProvider.setShareIntent(shareIntent);
}
} else
item.setVisible(false);
}
@Override