mirror of
https://github.com/status-im/react-native-dialogs.git
synced 2026-08-31 03:01:10 +00:00
Update DialogAndroid.js
This commit is contained in:
@@ -59,6 +59,7 @@ class DialogAndroid {
|
||||
var elements = indices.map(ind => (finalOptions.items || [])[ind]);
|
||||
if(indices.length === 1 && isNaN(indices[0])){
|
||||
indices=[] // the case of empty selection
|
||||
elements=[]
|
||||
}
|
||||
originalCallback(indices, elements);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user