Added option in warning window to begin download even if not enough disk space. Also new badge for completed.
This commit is contained in:
parent
ce013148b0
commit
f1fa4616a4
Binary file not shown.
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 2.9 KiB |
|
@ -452,10 +452,11 @@ static uint32_t kRed = BE(0xFF6450FF), //255, 100, 80
|
||||||
[alert setMessageText: [NSString stringWithFormat: @"Not enough remaining disk space to download \"%@\" completely.",
|
[alert setMessageText: [NSString stringWithFormat: @"Not enough remaining disk space to download \"%@\" completely.",
|
||||||
[self name]]];
|
[self name]]];
|
||||||
[alert setInformativeText: [NSString stringWithFormat:
|
[alert setInformativeText: [NSString stringWithFormat:
|
||||||
@"The transfer has been paused. Clear up space on %@ to continue.", volume]];
|
@"The transfer will be paused. Clear up space on %@ to continue.", volume]];
|
||||||
[alert runModal];
|
[alert addButtonWithTitle: @"OK"];
|
||||||
|
[alert addButtonWithTitle: @"Download Anyway"];
|
||||||
|
|
||||||
return NO;
|
return [alert runModal] != NSAlertFirstButtonReturn;
|
||||||
}
|
}
|
||||||
return YES;
|
return YES;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue