|
@@ -258,8 +258,8 @@ var Controllers = {
|
258
|
258
|
_validateDrawerProps(layout);
|
259
|
259
|
RCCManager.showController(layout, animationType, passProps);
|
260
|
260
|
},
|
261
|
|
- dismissController: function(animationType = 'slide-down') {
|
262
|
|
- RCCManager.dismissController(animationType);
|
|
261
|
+ dismissController: async function(animationType = 'slide-down') {
|
|
262
|
+ return await RCCManager.dismissController(animationType);
|
263
|
263
|
},
|
264
|
264
|
dismissAllControllers: function(animationType = 'slide-down') {
|
265
|
265
|
RCCManager.dismissAllControllers(animationType);
|