|
@@ -8,7 +8,7 @@ import { ListPage } from '../pages/list/list';
|
8
|
8
|
import { ActiveConnections } from '../pages/active/active';
|
9
|
9
|
import { History } from '../pages/history/history';
|
10
|
10
|
import { Notes } from '../pages/notes/notes';
|
11
|
|
-import {SettingsPage} from '../pages/settings/settings'
|
|
11
|
+import {Settings} from '../pages/settings/settings'
|
12
|
12
|
|
13
|
13
|
|
14
|
14
|
|
|
@@ -21,7 +21,7 @@ export class MyApp {
|
21
|
21
|
|
22
|
22
|
rootPage: any = HomePage;
|
23
|
23
|
|
24
|
|
- pages: Array<{title: string, component: any}>;
|
|
24
|
+ pages: Array<{title: string, component: any, icon: string}>;
|
25
|
25
|
|
26
|
26
|
constructor(public platform: Platform, public statusBar: StatusBar, public splashScreen: SplashScreen) {
|
27
|
27
|
|
|
@@ -31,12 +31,12 @@ export class MyApp {
|
31
|
31
|
|
32
|
32
|
// used for an example of ngFor and navigation
|
33
|
33
|
this.pages = [
|
34
|
|
- { title: 'Home', component: HomePage },
|
|
34
|
+ { title: 'Home', component: HomePage, icon: 'home'},
|
35
|
35
|
//{ title: 'ListOfLists', component: ListPage },
|
36
|
|
- { title: 'Active Connections', component: ActiveConnections },
|
37
|
|
- { title: 'History', component: History },
|
38
|
|
- { title: 'Notes', component: Notes },
|
39
|
|
- {title: 'Settings', component: SettingsPage}
|
|
36
|
+ { title: 'Active Connections', component: ActiveConnections, icon: 'wifi'},
|
|
37
|
+ { title: 'History', component: History, icon: 'archive' },
|
|
38
|
+ { title: 'Notes', component: Notes, icon: 'create' },
|
|
39
|
+ {title: 'Settings', component: Settings, icon: 'settings'}
|
40
|
40
|
];
|
41
|
41
|
|
42
|
42
|
}
|