mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-25 04:57:03 +00:00
CPByteCountFormatterUseDefault doesn't need to be transformed, I'm checking for it in the code
This commit is contained in:
@@ -269,8 +269,8 @@ var CPByteCountFormatterUnits = [ @"bytes", @"KB", @"MB", @"GB", @"TB", @"PB" ];
|
||||
|
||||
- (void)setAllowedUnits:(int)allowed
|
||||
{
|
||||
// CPByteCountFormatterUseDefault is equivalent to UseAll
|
||||
_allowedUnits = allowed ? allowed : CPByteCountFormatterUseAll;
|
||||
// Note: CPByteCountFormatterUseDefault is equivalent to UseAll
|
||||
_allowedUnits = allowed;
|
||||
}
|
||||
|
||||
- (BOOL)includesCount
|
||||
|
||||
Reference in New Issue
Block a user