We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ae5280 commit 8c3356cCopy full SHA for 8c3356c
sydialoglib/src/main/java/com/fastgo/sydialoglib/SYDialog.java
@@ -351,6 +351,11 @@ public SYDialog show() {
351
setDefaultOption();
352
}
353
SYDialog dialog = create();
354
+ if (params.context == null) return dialog;
355
+ if (params.context instanceof Activity) {
356
+ Activity activity = (Activity) params.context;
357
+ if (activity.isFinishing()) return dialog;
358
+ }
359
removePreDialog();
360
dialog.show(params.fragmentManager, FTag);
361
return dialog;
0 commit comments