Adapt number formatting to RTL.

// FREEBIE
This commit is contained in:
Matthew Chen 2017-07-12 10:58:29 -04:00
parent 5edec99fd6
commit 02c510691c

View file

@ -3903,7 +3903,7 @@ typedef enum : NSUInteger {
// Max out the unread count at 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