Remove enable autodownload from local feed (#4621)

This commit is contained in:
avirajrsingh 2020-10-31 16:29:32 +05:30 committed by GitHub
parent a0cd1fed2a
commit 851ac4198d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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