fix: set html player actionsheet to resolve on click
This commit is contained in:
committed by
Ivan Schurawel
parent
563a21bc4a
commit
20fca0768a
@@ -301,7 +301,7 @@ export function show(options) {
|
||||
|
||||
resolve(selectedId);
|
||||
} else {
|
||||
reject();
|
||||
reject('ActionSheet closed without resolving');
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
@@ -238,6 +238,7 @@ function showWithUser(options, player, user) {
|
||||
|
||||
return actionsheet.show({
|
||||
items: menuItems,
|
||||
resolveOnClick: true,
|
||||
positionTo: options.positionTo
|
||||
}).then(function (id) {
|
||||
return handleSelectedOption(id, options, player);
|
||||
|
||||
Reference in New Issue
Block a user