mirror of
https://gitea.mayex.net/mayekkuzu/Audinaut.git
synced 2025-01-23 12:44: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
|
||||
public void onAttach(Activity activity) {
|
||||
super.onAttach(activity);
|
||||
context = (SubsonicActivity) activity;
|
||||
public void onAttach(Context context) {
|
||||
super.onAttach(context);
|
||||
this.context = (SubsonicActivity) getActivity();
|
||||
}
|
||||
|
||||
public void setContext(SubsonicActivity context) {
|
||||
|
Loading…
Reference in New Issue
Block a user