mirror of
https://gitea.mayex.net/mayekkuzu/Audinaut.git
synced 2025-01-23 18:14:54 +03:00
Fix deprecated method usage
This commit is contained in:
parent
a4396eb375
commit
7d1e55321a
@ -144,9 +144,9 @@ public class SubsonicFragment extends Fragment implements SwipeRefreshLayout.OnR
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onAttach(Activity activity) {
|
public void onAttach(Context context) {
|
||||||
super.onAttach(activity);
|
super.onAttach(context);
|
||||||
context = (SubsonicActivity) activity;
|
this.context = (SubsonicActivity) getActivity();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setContext(SubsonicActivity context) {
|
public void setContext(SubsonicActivity context) {
|
||||||
|
Loading…
Reference in New Issue
Block a user