mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-23 06:49:32 +00:00
extracted magic constant to acutal constant
This commit is contained in:
@@ -26,6 +26,8 @@
|
||||
#import "MPSettingsHelper.h"
|
||||
#import "MPPluginConstants.h"
|
||||
|
||||
NSString *const MPPluginUnkownVersion = @"unkown.plugin.version";
|
||||
|
||||
@implementation MPPlugin
|
||||
|
||||
@synthesize bundle = _bundle;
|
||||
@@ -80,7 +82,7 @@
|
||||
return version;
|
||||
}
|
||||
}
|
||||
return @"unknown.version";
|
||||
return MPPluginUnkownVersion;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user