fix(menu): pass platform to menu type

This commit is contained in:
Adam Bradley
2016-06-02 12:03:59 -05:00
parent 4af5e03bd9
commit 7f597a0e55
2 changed files with 2 additions and 2 deletions

View File

@ -294,7 +294,7 @@ export class MenuController {
* @private
*/
static create(type: string, menuCmp: Menu, platform: Platform) {
return new menuTypes[type](menuCmp);
return new menuTypes[type](menuCmp, platform);
}
}