mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-08-30 13:47:41 +00:00
Use non-deprecated onAttach override
This commit is contained in:
parent
6d70d0dc50
commit
a4afc84911
@ -107,8 +107,8 @@ public class DeviceFragment extends Fragment {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onAttach(Activity activity) {
|
||||
super.onAttach(activity);
|
||||
public void onAttach(Context context) {
|
||||
super.onAttach(context);
|
||||
mActivity = ((MainActivity) getActivity());
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user