mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 12:28:52 +00:00
#3298 Move percentage string formatting into its own method, and don't append .00 to 100%
This commit is contained in:
@@ -35,6 +35,8 @@
|
||||
+ (NSString *) stringForSpeedAbbrev: (CGFloat) speed;
|
||||
+ (NSString *) stringForRatio: (CGFloat) ratio;
|
||||
|
||||
+ (NSString *) percentString: (CGFloat) progress longDecimals: (BOOL) longDecimals;
|
||||
|
||||
+ (NSString *) timeString: (uint64_t) seconds showSeconds: (BOOL) showSeconds;
|
||||
+ (NSString *) timeString: (uint64_t) seconds showSeconds: (BOOL) showSeconds maxFields: (NSUInteger) max;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user