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:
@@ -5,9 +5,9 @@
|
||||
"color-space" : "srgb",
|
||||
"components" : {
|
||||
"alpha" : "1.000",
|
||||
"blue" : "0.463",
|
||||
"green" : "0.392",
|
||||
"red" : "0.933"
|
||||
"blue" : "0x76",
|
||||
"green" : "0x64",
|
||||
"red" : "0xEE"
|
||||
}
|
||||
},
|
||||
"idiom" : "universal"
|
||||
|
||||
@@ -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