Skip to content

Commit 1b894f5

Browse files
author
Jason Rodriguez
committed
removes unused comments
1 parent 6fa9110 commit 1b894f5

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

LTHPasscodeViewController/LTHPasscodeViewController.m

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,11 @@
1414

1515
#define LTHFailedAttemptLabelHeight [_failedAttemptLabel.text sizeWithAttributes: @{NSFontAttributeName : _labelFont}].height
1616

17-
//#ifndef LTHPasscodeViewControllerStrings
18-
//#define LTHPasscodeViewControllerStrings(key) \
19-
//NSString *localizedString = [[NSBundle bundleWithPath:[[NSBundle bundleForClass:[LTHPasscodeViewController class]] pathForResource:@"LTHPasscodeViewController" ofType:@"bundle"]] localizedStringForKey:(key) value:@"" table:_localizationTableName] \
20-
//printf(localizedString); \
21-
//if ([localizedString length] == 0) { \
22-
// printf([SWIFTPM_MODULE_BUNDLE localizedStringForKey: (key) value:@"" table:_localizationTableName]); \
23-
// return [SWIFTPM_MODULE_BUNDLE localizedStringForKey: (key) value:@"" table:_localizationTableName] \
24-
//} else { \
25-
// return localizedString \
26-
//}
27-
//#endif
28-
2917
#ifndef LTHPasscodeViewControllerStrings
3018
#define LTHPasscodeViewControllerStrings(key) \
31-
[[[NSBundle bundleWithPath:[[NSBundle bundleForClass:[LTHPasscodeViewController class]] pathForResource:@"LTHPasscodeViewController" ofType:@"bundle"]] localizedStringForKey:(key) value:@"" table:_localizationTableName] length] == 0 ? [SWIFTPM_MODULE_BUNDLE localizedStringForKey: (key) value:@"" table:_localizationTableName] : [[NSBundle bundleWithPath:[[NSBundle bundleForClass:[LTHPasscodeViewController class]] pathForResource:@"LTHPasscodeViewController" ofType:@"bundle"]] localizedStringForKey:(key) value:@"" table:_localizationTableName]
19+
[[[NSBundle bundleWithPath:[[NSBundle bundleForClass:[LTHPasscodeViewController class]] pathForResource:@"LTHPasscodeViewController" ofType:@"bundle"]] localizedStringForKey:(key) value:@"" table:_localizationTableName] length] == 0 ? NSLocalizedString(key, bundle: .module, comment: "") : [[NSBundle bundleWithPath:[[NSBundle bundleForClass:[LTHPasscodeViewController class]] pathForResource:@"LTHPasscodeViewController" ofType:@"bundle"]] localizedStringForKey:(key) value:@"" table:_localizationTableName]
3220
#endif
21+
3322
// MARK: Please read
3423
/*
3524
Using windows[0] instead of keyWindow due to an issue with UIAlertViews / UIActionSheets - displaying the lockscreen when an alertView / actionSheet is visible, or displaying one after the lockscreen is visible results in a few cases:

0 commit comments

Comments
 (0)