pull/147/head
M66B 6 years ago
parent 167a9e3557
commit 079dc572f0

@ -127,7 +127,7 @@ public class AdapterOperation extends RecyclerView.Adapter<AdapterOperation.View
protected void onException(Bundle args, Throwable ex) {
Helper.unexpectedError(context, owner, ex);
}
}.execute(context, owner, args);
}.execute(context, owner, args, "operation:open:folder");
} else {
Bundle args = new Bundle();
args.putLong("id", operation.message);
@ -153,7 +153,7 @@ public class AdapterOperation extends RecyclerView.Adapter<AdapterOperation.View
protected void onException(Bundle args, Throwable ex) {
Helper.unexpectedError(context, owner, ex);
}
}.execute(context, owner, args);
}.execute(context, owner, args, "operation:open:message");
}
}
}

@ -486,7 +486,7 @@ public class FragmentSetup extends FragmentEx {
grpQuickError.setVisibility(View.VISIBLE);
}
}
}.execute(FragmentSetup.this, args);
}.execute(FragmentSetup.this, args, "setup:quick");
}
});
@ -665,7 +665,7 @@ public class FragmentSetup extends FragmentEx {
protected void onException(Bundle args, Throwable ex) {
Helper.unexpectedError(getContext(), getViewLifecycleOwner(), ex);
}
}.execute(this, new Bundle());
}.execute(this, new Bundle(), "outbox:create");
return view;
}
@ -834,7 +834,7 @@ public class FragmentSetup extends FragmentEx {
protected void onException(Bundle args, Throwable ex) {
Helper.unexpectedError(getContext(), getViewLifecycleOwner(), ex);
}
}.execute(FragmentSetup.this, new Bundle());
}.execute(FragmentSetup.this, new Bundle(), "setup:sync");
}
@Override
@ -1107,7 +1107,7 @@ public class FragmentSetup extends FragmentEx {
else
Helper.unexpectedError(getContext(), getViewLifecycleOwner(), ex);
}
}.execute(this, args);
}.execute(this, args, "setup:export");
}
private void handleImport(Intent data, String password) {
@ -1253,7 +1253,7 @@ public class FragmentSetup extends FragmentEx {
else
Helper.unexpectedError(getContext(), getViewLifecycleOwner(), ex);
}
}.execute(this, args);
}.execute(this, args, "setup:import");
}
private void selectAccount() {

@ -272,7 +272,7 @@ public class Helper {
else
Toast.makeText(context, ex.toString(), Toast.LENGTH_LONG).show();
}
}.execute(context, owner, new Bundle());
}.execute(context, owner, new Bundle(), "error:unexpected");
}
})
.show();

Loading…
Cancel
Save