You've already forked hotpocket
BTHLABS-58: Tweaks and fixes
* Use explicit values to populate access token's platform in apps. * Fix View Association layout. * Web Extension popup layout rework.
This commit is contained in:
@@ -56,14 +56,11 @@
|
||||
#pragma mark - Public interface
|
||||
|
||||
+(NSDictionary *)getAccessTokenMeta {
|
||||
NSString *platform = @"macOS";
|
||||
#ifdef TARGET_OS_IOS
|
||||
platform = @"iPhone";
|
||||
#endif
|
||||
NSBundle *mainBundle = [NSBundle mainBundle];
|
||||
|
||||
return @{
|
||||
@"version": [[[NSBundle mainBundle] infoDictionary] valueForKey:@"CFBundleShortVersionString"],
|
||||
@"platform": platform,
|
||||
@"version": [mainBundle.infoDictionary valueForKey:@"CFBundleShortVersionString"],
|
||||
@"platform": [mainBundle.infoDictionary valueForKey:@"HPAPIAccessTokenPlatform"],
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user