Merge branch 'bugfix/CXTDT-573370' into 'release/20_0_0'
Digital PCT265 defect CXTDT-573370: Expose VDS bundle helper in MVMCoreUI. ### Summary Fix webview local font loading. ### JIRA Ticket https://onejira.verizon.com/browse/CXTDT-573370 Co-authored-by: Hedden, Kyle Matthew <kyle.hedden@verizonwireless.com> See merge request https://gitlab.verizon.com/BPHV_MIPS/mvm_core_ui/-/merge_requests/1131
This commit is contained in:
commit
1fcd8854f5
@ -22,6 +22,9 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
// The bundle for this framework
|
||||
+ (nullable NSBundle *)bundleForMVMCoreUI;
|
||||
|
||||
/// The bundle for the VDS frameowrk. Handy for accessing VDS resources such as fonts.
|
||||
+ (nullable NSBundle *)bundleForFonts;
|
||||
|
||||
// Returns the hardcoded string from the string file.
|
||||
+ (nullable NSString *)hardcodedStringWithKey:(nonnull NSString *)key;
|
||||
|
||||
|
||||
@ -22,6 +22,10 @@
|
||||
return [NSBundle bundleWithIdentifier:@"com.vzw.MVMCoreUI"];
|
||||
}
|
||||
|
||||
+ (nullable NSBundle *)bundleForFonts {
|
||||
return [NSBundle bundleWithIdentifier:@"com.vzw.vds"];
|
||||
}
|
||||
|
||||
+ (nullable NSString *)hardcodedStringWithKey:(nonnull NSString *)key {
|
||||
// Redirect key with relevant module.
|
||||
return [MVMCoreGetterUtility hardcodedStringWithKey:key bundle:[MVMCoreUIUtility bundleForMVMCoreUI]];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user