mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-03 05:34:51 +00:00
Small improvement
This commit is contained in:
parent
3d3bf4b4d3
commit
29ae761435
4 changed files with 6 additions and 6 deletions
|
@ -292,7 +292,7 @@ public class FragmentAccount extends Fragment {
|
|||
@NonNull
|
||||
@Override
|
||||
public Loader<Throwable> onCreateLoader(int id, Bundle args) {
|
||||
PutLoader loader = new PutLoader(getActivity());
|
||||
PutLoader loader = new PutLoader(getContext());
|
||||
loader.setArgs(args);
|
||||
return loader;
|
||||
}
|
||||
|
|
|
@ -395,7 +395,7 @@ public class FragmentCompose extends Fragment {
|
|||
@NonNull
|
||||
@Override
|
||||
public Loader<Bundle> onCreateLoader(int id, @Nullable Bundle args) {
|
||||
GetLoader loader = new GetLoader(getActivity());
|
||||
GetLoader loader = new GetLoader(getContext());
|
||||
loader.setArgs(args);
|
||||
return loader;
|
||||
}
|
||||
|
@ -502,7 +502,7 @@ public class FragmentCompose extends Fragment {
|
|||
@NonNull
|
||||
@Override
|
||||
public Loader<Throwable> onCreateLoader(int id, @Nullable Bundle args) {
|
||||
DeleteLoader loader = new DeleteLoader(getActivity());
|
||||
DeleteLoader loader = new DeleteLoader(getContext());
|
||||
loader.setArgs(args);
|
||||
return loader;
|
||||
}
|
||||
|
@ -646,7 +646,7 @@ public class FragmentCompose extends Fragment {
|
|||
@Override
|
||||
public Loader<Throwable> onCreateLoader(int id, Bundle args) {
|
||||
this.args = args;
|
||||
PutLoader loader = new PutLoader(getActivity());
|
||||
PutLoader loader = new PutLoader(getContext());
|
||||
loader.setArgs(args);
|
||||
return loader;
|
||||
}
|
||||
|
|
|
@ -134,7 +134,7 @@ public class FragmentFolder extends Fragment {
|
|||
@NonNull
|
||||
@Override
|
||||
public Loader<Throwable> onCreateLoader(int id, Bundle args) {
|
||||
PutLoader loader = new PutLoader(getActivity());
|
||||
PutLoader loader = new PutLoader(getContext());
|
||||
loader.setArgs(args);
|
||||
return loader;
|
||||
}
|
||||
|
|
|
@ -267,7 +267,7 @@ public class FragmentIdentity extends Fragment {
|
|||
@NonNull
|
||||
@Override
|
||||
public Loader<Throwable> onCreateLoader(int id, Bundle args) {
|
||||
PutLoader loader = new PutLoader(getActivity());
|
||||
PutLoader loader = new PutLoader(getContext());
|
||||
loader.setArgs(args);
|
||||
return loader;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue