2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-08-30 05:37:43 +00:00

Use non-deprecated onAttach override

This commit is contained in:
Nicolas Fella 2019-04-19 23:34:14 +02:00
parent 6d70d0dc50
commit a4afc84911

View File

@ -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());
}