mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore(demos): IonicPlatform to Platform
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import {IonicPlatform, Page, ActionSheet} from 'ionic/ionic';
|
||||
import {Platform, Page, ActionSheet} from 'ionic/ionic';
|
||||
|
||||
@Page({
|
||||
templateUrl: 'actionSheet/actionSheet.html',
|
||||
})
|
||||
export class ActionSheetPage {
|
||||
|
||||
constructor(actionSheet: ActionSheet, platform: IonicPlatform) {
|
||||
constructor(actionSheet: ActionSheet, platform: Platform) {
|
||||
this.actionSheet = actionSheet;
|
||||
this.platform = platform;
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import {App, IonicApp, IonicPlatform, ActionSheet} from 'ionic/ionic';
|
||||
import {App, IonicApp, Platform, ActionSheet} from 'ionic/ionic';
|
||||
import {Page, Config, Events} from 'ionic/ionic';
|
||||
import {ActionSheetPage} from './actionSheet/actionSheet';
|
||||
import * as helpers from './helpers';
|
||||
@@ -11,7 +11,7 @@ class DemoApp {
|
||||
|
||||
rootPage: any;
|
||||
|
||||
constructor(app: IonicApp, platform: IonicPlatform) {
|
||||
constructor(app: IonicApp, platform: Platform) {
|
||||
this.app = app;
|
||||
this.platform = platform;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user