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:
2025-10-04 08:06:18 +02:00
parent efcce32b50
commit 6332a9cef9
13 changed files with 293 additions and 29 deletions

View File

@@ -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"

View File

@@ -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"],
};
}