Skip to content

Commit

Permalink
Merge pull request mrackwitz#81 from neonichu/master
Browse files Browse the repository at this point in the history
Don't mess with `NSLocale.currentLocale`
  • Loading branch information
mrackwitz committed Dec 10, 2014
2 parents 07a0d3a + 4211046 commit 1836f25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Components/MRNavigationBarProgressView.m
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ @implementation MRNavigationBarProgressView

static NSNumberFormatter *progressNumberFormatter;

+ (void)load {
+ (void)initialize {
NSNumberFormatter *numberFormatter = [NSNumberFormatter new];
numberFormatter.numberStyle = NSNumberFormatterPercentStyle;
numberFormatter.locale = NSLocale.currentLocale;
Expand Down

0 comments on commit 1836f25

Please sign in to comment.