diff --git a/App/Ionic2/ocm-app/res/mipmap-mdpi/icon.png b/App/Ionic2/ocm-app/res/mipmap-mdpi/icon.png new file mode 100644 index 0000000..b2e30f1 Binary files /dev/null and b/App/Ionic2/ocm-app/res/mipmap-mdpi/icon.png differ diff --git a/App/Ionic2/ocm-app/src/app/app.scss b/App/Ionic2/ocm-app/src/app/app.scss index a967d6f..4c35004 100644 --- a/App/Ionic2/ocm-app/src/app/app.scss +++ b/App/Ionic2/ocm-app/src/app/app.scss @@ -14,3 +14,8 @@ // To declare rules for a specific mode, create a child rule // for the .md, .ios, or .wp mode classes. The mode class is // automatically applied to the element in the app. + +/*transparency required for native maps, which appear behind the html content*/ +ion-app,ion-app.md, ion-app.ios,ion-app.wp,.content-md, .content-ios, .content-wp{ + background-color: transparent; +} \ No newline at end of file diff --git a/App/Ionic2/ocm-app/src/components/poi-details/poi-details.ts b/App/Ionic2/ocm-app/src/components/poi-details/poi-details.ts index c8d6e93..d48295f 100644 --- a/App/Ionic2/ocm-app/src/components/poi-details/poi-details.ts +++ b/App/Ionic2/ocm-app/src/components/poi-details/poi-details.ts @@ -143,12 +143,13 @@ export class PoiDetails implements OnInit { }); modal.present(); } - }, { + }, /*{ text: 'Add as Favourite', handler: () => { alert("TODO: add as favourite"); } - }, { + }, */ + { text: 'Cancel', role: 'cancel', handler: () => {