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

2
TODO
View File

@@ -1,6 +1,4 @@
Fixes:
- Hide old password field in SetPasswordFragment if none is set
- Don't show Share menu for new contacts
- Fix tick over selected emails
- Refine view email page
-- Delete/read/unread/move actions that don't break everything

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