Removed 'share link' and 'share source link' from feedmenu
This commit is contained in:
parent
71502d74cc
commit
c3852f333c
|
@ -3,8 +3,9 @@
|
|||
|
||||
<item
|
||||
android:id="@+id/refresh_item"
|
||||
android:icon="?attr/navigation_refresh"
|
||||
android:showAsAction="ifRoom|collapseActionView"
|
||||
android:title="@string/refresh_label" android:icon="?attr/navigation_refresh">
|
||||
android:title="@string/refresh_label">
|
||||
</item>
|
||||
<item
|
||||
android:id="@+id/mark_all_read_item"
|
||||
|
@ -37,15 +38,5 @@
|
|||
android:title="@string/support_label"
|
||||
android:visible="false">
|
||||
</item>
|
||||
<item
|
||||
android:id="@+id/share_link_item"
|
||||
android:showAsAction="collapseActionView"
|
||||
android:title="@string/share_link_label">
|
||||
</item>
|
||||
<item
|
||||
android:id="@+id/share_source_item"
|
||||
android:showAsAction="collapseActionView"
|
||||
android:title="@string/share_source_label">
|
||||
</item>
|
||||
|
||||
</menu>
|
|
@ -46,14 +46,14 @@ public class FeedMenuHandler {
|
|||
refresh.setVisible(true);
|
||||
}
|
||||
|
||||
menu.findItem(R.id.share_link_item).setVisible(
|
||||
selectedFeed.getLink() != null);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/** NOTE: This method does not handle clicks on the 'remove feed' - item.
|
||||
* @throws DownloadRequestException */
|
||||
/**
|
||||
* NOTE: This method does not handle clicks on the 'remove feed' - item.
|
||||
*
|
||||
* @throws DownloadRequestException
|
||||
*/
|
||||
public static boolean onOptionsItemClicked(Context context, MenuItem item,
|
||||
Feed selectedFeed) throws DownloadRequestException {
|
||||
FeedManager manager = FeedManager.getInstance();
|
||||
|
|
Loading…
Reference in New Issue