mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Change how we process the splash images for cordova (fixes #11555):
- Use string template.
This commit is contained in:
2
tools/cordova/builder.js
vendored
2
tools/cordova/builder.js
vendored
@@ -416,7 +416,7 @@ export class CordovaBuilder {
|
||||
throw new Error("Invalid src value!");
|
||||
}
|
||||
|
||||
return stringValue.substring(0, lastIndexOfSeparator) + withChar + darkModeIdentifier + stringValue.substring(lastIndexOfSeparator);
|
||||
return `${stringValue.substring(0, lastIndexOfSeparator)}${withChar}${darkModeIdentifier}${stringValue.substring(lastIndexOfSeparator)}`;
|
||||
}
|
||||
|
||||
Object.entries(allowedValues).forEach(([key, value]) => {
|
||||
|
||||
Reference in New Issue
Block a user