feeditem context menu tweak - don't show auto download when it's already downloaded.

This commit is contained in:
orionlee 2019-09-23 04:11:44 -07:00
parent 6c05a8c730
commit d3aee7fcbd
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ public class FeedItemMenuHandler {
mi.setItemVisibility(R.id.reset_position, false); mi.setItemVisibility(R.id.reset_position, false);
} }
if(!UserPreferences.isEnableAutodownload()) { if(!UserPreferences.isEnableAutodownload() || fileDownloaded) {
mi.setItemVisibility(R.id.activate_auto_download, false); mi.setItemVisibility(R.id.activate_auto_download, false);
mi.setItemVisibility(R.id.deactivate_auto_download, false); mi.setItemVisibility(R.id.deactivate_auto_download, false);
} else if(selectedItem.getAutoDownload()) { } else if(selectedItem.getAutoDownload()) {