Skip to content

Commit 2b9d984

Browse files
committed
Merge pull request #12 from jrapoport/master
keyed image bugfix
2 parents 634c0a9 + a7c0cc0 commit 2b9d984

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

AWLThemeManager/AWLThemeManager.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ - (UIImage *)imageNamed:(NSString *)key forTheme:(NSString*)themeName
139139
NSBundle* bundle = [NSBundle bundleWithPath:self.themeList[themeName]];
140140

141141
if (NSFoundationVersionNumber >= NSFoundationVersionNumber_iOS_8_0) {
142-
img = [UIImage imageNamed:key inBundle:bundle compatibleWithTraitCollection:nil];
142+
img = [UIImage imageNamed:imgName inBundle:bundle compatibleWithTraitCollection:nil];
143143
}
144144
#ifdef AWLThemeManager_XCASSETS_iOS7
145145
else {

0 commit comments

Comments
 (0)