mirror of
https://github.com/status-im/react-native-dialogs.git
synced 2025-03-01 00:30:28 +00:00
commit
5ba214a3b1
@ -164,7 +164,7 @@ public class DialogAndroid extends ReactContextBaseJavaModule {
|
|||||||
@Override
|
@Override
|
||||||
public void onSelection(MaterialDialog materialDialog, View view, int i,
|
public void onSelection(MaterialDialog materialDialog, View view, int i,
|
||||||
CharSequence charSequence) {
|
CharSequence charSequence) {
|
||||||
callback.invoke("itemsCallback", i, charSequence.toString());
|
callback.invoke("itemsCallback", i, charSequence == null ? null : charSequence.toString());
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user