diff --git a/demos/action-sheet/index.ts b/demos/action-sheet/index.ts index e7b68554d3..c3f7ae100c 100644 --- a/demos/action-sheet/index.ts +++ b/demos/action-sheet/index.ts @@ -25,6 +25,14 @@ export class InitialPage { var androidSheet = { title: 'Albums', buttons: [ + { + text: 'Delete', + style: 'destructive', + icon: 'md-trash', + handler: () => { + console.log('Destructive clicked'); + } + }, { text: 'Share', icon: 'share', handler: () => { @@ -43,14 +51,6 @@ export class InitialPage { console.log('Favorite clicked'); } }, - { - text: 'Delete', - style: 'destructive', - icon: 'md-trash', - handler: () => { - console.log('Destructive clicked'); - } - }, { text: 'Cancel', style: 'cancel', @@ -65,6 +65,13 @@ export class InitialPage { let actionSheet = ActionSheet.create( androidSheet || { buttons: [ + { + text: 'Delete', + style: 'destructive', + handler: () => { + console.log('Destructive clicked'); + } + }, { text: 'Share', handler: () => { @@ -83,13 +90,6 @@ export class InitialPage { console.log('Favorite clicked'); } }, - { - text: 'Delete', - style: 'destructive', - handler: () => { - console.log('Destructive clicked'); - } - }, { text: 'Cancel', style: 'cancel',