Skip to content

Commit

Permalink
Fix White Freeze
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolas authored and Nicolas committed Aug 27, 2016
1 parent 799e14f commit c9779a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 1 addition & 7 deletions app/app.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {Component, enableProdMode} from '@angular/core';
import {Component} from '@angular/core';
import {Platform, ionicBootstrap} from 'ionic-angular';
import {StatusBar} from 'ionic-native';
import {HomePage} from './pages/home/home';
Expand All @@ -15,12 +15,6 @@ export class MyApp {
constructor(private platform: Platform) {
this.rootPage = HomePage;

if (platform.is('ios')
|| platform.is('android')
|| platform.is('windows')) {
enableProdMode();
}

platform.ready().then(() => {
// Okay, so the platform is ready and our plugins are available.
// Here you can do any higher level native things you might need.
Expand Down
2 changes: 1 addition & 1 deletion app/pages/details/details.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ <h2>Additifs</h2>
<ion-card-content>
<ion-card-title>Ingrédients</ion-card-title>
<b>{{product.generic_name || product.product_name || product.code}}</b> <br>
{{product.ingredients_text}}
<p [innerHTML]="parseIngredients(product.ingredients_text)"></p>
</ion-card-content>
</ion-card>
</ion-content>

0 comments on commit c9779a4

Please sign in to comment.