This commit is contained in:
M66B 2020-03-24 15:22:55 +01:00
parent 0ea95b7a3d
commit 3a087071f9
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ public abstract class SimpleTask<T> implements LifecycleObserver {
public void execute(final Fragment fragment, @NonNull Bundle args, @NonNull String name) {
try {
if (fragment.getView() != null)
if (fragment.getView() != null || fragment instanceof FragmentDialogBase)
run(fragment.getContext(), fragment.getViewLifecycleOwner(), args, name);
} catch (IllegalStateException ex) {
Log.e(ex);