This is an automated email from the ASF dual-hosted git repository.

purplecabbage pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-windows.git


The following commit(s) were added to refs/heads/master by this push:
     new 5e7f2ac  fix(win10): read splashscreen correctly from manifest (#358)
5e7f2ac is described below

commit 5e7f2ac9795600dab4ae7ffebd53bbda96bc2386
Author: Jan Piotrowski <piotrowski+...@gmail.com>
AuthorDate: Wed Jul 13 00:05:21 2022 +0200

    fix(win10): read splashscreen correctly from manifest (#358)
    
    Co-authored-by: Jesse MacFadyen <purplecabb...@gmail.com>
---
 cordova-js-src/confighelper.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cordova-js-src/confighelper.js b/cordova-js-src/confighelper.js
index 2310857..2463103 100644
--- a/cordova-js-src/confighelper.js
+++ b/cordova-js-src/confighelper.js
@@ -25,7 +25,7 @@ var utils = require('cordova/utils');
 
 var isPhone = (cordova.platformId === 'windows') && WinJS.Utilities.isPhone;
 var isWin10UWP = navigator.appVersion.indexOf('MSAppHost/3.0') !== -1;
-var splashScreenTagName = isWin10UWP ? 'SplashScreen' : (isPhone ? 
'm3:SplashScreen' : 'm2:SplashScreen');
+var splashScreenTagName = isWin10UWP ? "uap:SplashScreen" : (isPhone ? 
"m3:SplashScreen" : "m2:SplashScreen");
 
 function XmlFile (text) {
     this.text = text;


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org
For additional commands, e-mail: commits-h...@cordova.apache.org

Reply via email to