mirror of
https://github.com/status-im/react-native-dialogs.git
synced 2026-09-01 19:51:10 +00:00
Update DialogAndroid.java
This commit is contained in:
@@ -305,7 +305,7 @@ public class DialogAndroid extends ReactContextBaseJavaModule {
|
||||
}
|
||||
|
||||
final MaterialDialog.Builder adapter = new MaterialDialog.Builder(getCurrentActivity())
|
||||
.title(options.getString("title"))
|
||||
.title(options.hasKey("title") ? options.getString("title") : "")
|
||||
.adapter(simpleListAdapter, new MaterialDialog.ListCallback() {
|
||||
@Override
|
||||
public void onSelection(MaterialDialog dialog, View itemView, int which, CharSequence text) {
|
||||
|
||||
Reference in New Issue
Block a user