Skip to content
This repository has been archived by the owner on Jul 25, 2019. It is now read-only.

Commit

Permalink
BUGFIX: Get category with localized key
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan Curd committed Jun 30, 2017
2 parents 99e872d + d0ec603 commit bd3f48f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/UVPostIdeaViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ - (void)sendWithEmail:(NSString *)email name:(NSString *)name fields:(NSDictiona
[self alertError:NSLocalizedStringFromTableInBundle(@"Please enter your email address before submitting your ticket.", @"UserVoice", [UserVoice bundle], nil)];
} else {
[_detailsController showActivityIndicator];
_selectedCategoryId = [fields[@"Category"][@"id"] integerValue];
_selectedCategoryId = [fields[NSLocalizedStringFromTableInBundle(@"Category", @"UserVoice", [UserVoice bundle], nil)][@"id"] integerValue];
[self requireUserAuthenticated:email name:name callback:_didAuthenticateCallback];
}
}
Expand Down

0 comments on commit bd3f48f

Please sign in to comment.