feeditem context menu tweak - don't show auto download when it's already downloaded.
This commit is contained in:
parent
6c05a8c730
commit
d3aee7fcbd
|
@ -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()) {
|
||||||
|
|
Loading…
Reference in New Issue