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 npm run ionic:build
rm www/manifest.json rm www/manifest.json
cd ubuntutouch && clickable 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"> <html lang="en" dir="ltr">
<head> <head>
<meta charset="UTF-8"> <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="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="format-detection" content="telephone=no">
<meta name="msapplication-tap-highlight" content="no"> <meta name="msapplication-tap-highlight" content="no">

View file

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

View file

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