mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-26 23:50:58 +01:00
Oops
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user