fix app title in index and manifest and updating icon sizes

This commit is contained in:
Morgan McMillian 2018-10-29 17:20:39 -07:00
parent 5a0a18ab95
commit e3d62e27d3
7 changed files with 14 additions and 9 deletions

View file

@ -49,3 +49,8 @@ ut:
npm run ionic:build
rm www/manifest.json
cd ubuntutouch && clickable
pwa:
npm run ionic:build
cp resources/icon-512.png www/assets/icon.png
cp -r www ~/opt/Goober

BIN
resources/icon-128.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

BIN
resources/icon-512.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 19 KiB

View file

@ -2,7 +2,7 @@
<html lang="en" dir="ltr">
<head>
<meta charset="UTF-8">
<title>Ionic App</title>
<title>Goober</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="format-detection" content="telephone=no">
<meta name="msapplication-tap-highlight" content="no">
@ -10,7 +10,7 @@
<link rel="icon" type="image/x-icon" href="assets/icon/favicon.ico">
<link rel="manifest" href="manifest.json">
<meta name="theme-color" content="#4e8ef7">
<!-- cordova.js required for cordova apps -->
<script src="cordova.js"></script>

View file

@ -1,13 +1,13 @@
{
"name": "Ionic",
"short_name": "Ionic",
"name": "Goober",
"short_name": "Goober",
"start_url": "index.html",
"display": "standalone",
"icons": [{
"src": "assets/imgs/logo.png",
"src": "assets/icon.png",
"sizes": "512x512",
"type": "image/png"
}],
"background_color": "#4e8ef7",
"theme_color": "#4e8ef7"
}
}

View file

@ -169,19 +169,19 @@ export class NewPostModal {
id: this.raw.length - 1
});
this.showProgress = false;
}).catch((err) => {
}).catch((err) => { // fileTransfer
this.showProgress = false;
let edata = JSON.parse(err.body);
this.presentToast(edata.meta.error_message);
});
}).catch(err => {
}).catch(err => { // filePath
console.log('-error getting filepath-');
console.log(err);
});
}).catch(err => {
}).catch(err => { // fileChooser
console.log(err);
});