Do not show select download label dialog for no custom labels
This commit is contained in:
1 parent
7b28eeec5d
commit
74ae747c94
1 file changed
+6
@@ -221,10 +221,16 @@ public final class CommonOperations {
|
||||
|
||||
boolean justStart = dm.containDownloadInfo(galleryInfo.gid);
|
||||
String label = null;
|
||||
// Get default download label
|
||||
if (!justStart && Settings.getHasDefaultDownloadLabel()) {
|
||||
label = Settings.getDefaultDownloadLabel();
|
||||
justStart = label == null || dm.containLabel(label);
|
||||
}
|
||||
// If there is no other label, just use null label
|
||||
if (!justStart && 0 == dm.getLabelList().size()) {
|
||||
justStart = true;
|
||||
label = null;
|
||||
}
|
||||
|
||||
if (justStart) {
|
||||
// Already in download list or get default label
|
||||
|
||||
Reference in new issue
Block a user