Adapt number formatting to RTL.

// FREEBIE
pull/1/head
Matthew Chen 8 years ago
parent 5edec99fd6
commit 02c510691c

@ -3903,7 +3903,7 @@ typedef enum : NSUInteger {
// Max out the unread count at 99+. // Max out the unread count at 99+.
const NSUInteger kMaxUnreadCount = 99; const NSUInteger kMaxUnreadCount = 99;
_backButtonUnreadCountLabel.text = [@(MIN(kMaxUnreadCount, unreadCount)) stringValue]; _backButtonUnreadCountLabel.text = [ViewControllerUtils formatInt:(int) MIN(kMaxUnreadCount, unreadCount)];
} }
#pragma mark 3D Touch Preview Actions #pragma mark 3D Touch Preview Actions

Loading…
Cancel
Save