Skip to content

Commit

Permalink
fix: load octicons from FAKOcticons bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
n-studio committed Jan 17, 2021
1 parent ed5eb02 commit 615017e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FontAwesomeKit/FAKOcticons.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ + (UIFont *)iconFontWithSize:(CGFloat)size
#ifndef DISABLE_IONICONS_AUTO_REGISTRATION
static dispatch_once_t onceToken;
dispatch_once(&onceToken, ^{
[self registerIconFontWithURL: [[NSBundle mainBundle] URLForResource:@"octicons" withExtension:@"ttf"]];
[self registerIconFontWithURL: [[NSBundle bundleForClass:[FAKOcticons class]] URLForResource:@"octicons" withExtension:@"ttf"]];
});
#endif

Expand Down

0 comments on commit 615017e

Please sign in to comment.