mirror of
https://github.com/status-im/react-native-dialogs.git
synced 2025-02-20 12:28:08 +00:00
Cleaned up Javascript code
This commit is contained in:
parent
55d84b9408
commit
431fa3acf7
@ -35,6 +35,7 @@ class DialogAndroid {
|
||||
error: (err, op) => console.error(err, op),
|
||||
}
|
||||
|
||||
// Remove callbacks from the options, and store them separately
|
||||
callbackNames.forEach(cb => {
|
||||
if (cb in finalOptions) {
|
||||
callbacks[cb] = finalOptions[cb];
|
||||
|
Loading…
x
Reference in New Issue
Block a user