From 3f57ebe1955a3c8ec0d93016a4f9054dccdf4208 Mon Sep 17 00:00:00 2001 From: Morgan McMillian Date: Sat, 5 Aug 2017 07:43:19 -0700 Subject: [PATCH] fix production compile errors for settings page #31 --- src/pages/settings/settings.module.ts | 16 ---------------- src/pages/settings/settings.ts | 3 +-- 2 files changed, 1 insertion(+), 18 deletions(-) delete mode 100644 src/pages/settings/settings.module.ts diff --git a/src/pages/settings/settings.module.ts b/src/pages/settings/settings.module.ts deleted file mode 100644 index 6c20669..0000000 --- a/src/pages/settings/settings.module.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { NgModule } from '@angular/core'; -import { IonicPageModule } from 'ionic-angular'; -import { SettingsPage } from './settings'; - -@NgModule({ - declarations: [ - SettingsPage, - ], - imports: [ - IonicPageModule.forChild(SettingsPage), - ], - exports: [ - SettingsPage - ] -}) -export class SettingsPageModule {} diff --git a/src/pages/settings/settings.ts b/src/pages/settings/settings.ts index faef6e8..6a5b6f9 100644 --- a/src/pages/settings/settings.ts +++ b/src/pages/settings/settings.ts @@ -1,5 +1,5 @@ import { Component } from '@angular/core'; -import { IonicPage, NavController, NavParams } from 'ionic-angular'; +import { NavController, NavParams } from 'ionic-angular'; import { Storage } from '@ionic/storage'; /** @@ -8,7 +8,6 @@ import { Storage } from '@ionic/storage'; * See http://ionicframework.com/docs/components/#navigation for more info * on Ionic pages and navigation. */ -@IonicPage() @Component({ selector: 'page-settings', templateUrl: 'settings.html',