Skip to content

Commit cfcc2ac

Browse files
authored
Merge pull request #511 from funnel20/WebVC
Support localizable `File` for `IASKAppSettingsWebViewController`
2 parents b6d44e1 + 05a8e54 commit cfcc2ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/InAppSettingsKit/Controllers/IASKAppSettingsViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -892,7 +892,7 @@ - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath
892892
UIViewController * vc = [vcClass alloc];
893893
#pragma clang diagnostic push
894894
#pragma clang diagnostic ignored "-Warc-performSelector-leaks"
895-
vc = [vc performSelector:initSelector withObject:specifier.file withObject:specifier];
895+
vc = [vc performSelector:initSelector withObject:[specifier localizedObjectForKey:kIASKFile] withObject:specifier];
896896
#pragma clang diagnostic pop
897897
if ([vc respondsToSelector:@selector(setDelegate:)]) {
898898
[vc performSelector:@selector(setDelegate:) withObject:self.delegate];

0 commit comments

Comments
 (0)