mirror of
https://codeberg.org/r4v3r23/mysu.git
synced 2024-11-10 05:03:44 +01:00
Get rid of old mainActivity variable
This commit is contained in:
parent
e2face7c33
commit
b0f4462838
@ -39,8 +39,6 @@ public class HomeFragment extends Fragment {
|
|||||||
public void onViewCreated(@NonNull View view, @Nullable Bundle savedInstanceState) {
|
public void onViewCreated(@NonNull View view, @Nullable Bundle savedInstanceState) {
|
||||||
super.onViewCreated(view, savedInstanceState);
|
super.onViewCreated(view, savedInstanceState);
|
||||||
mViewModel = new ViewModelProvider(this).get(HomeViewModel.class);
|
mViewModel = new ViewModelProvider(this).get(HomeViewModel.class);
|
||||||
MainActivity mainActivity = (MainActivity) getActivity();
|
|
||||||
if (mainActivity == null) return;
|
|
||||||
|
|
||||||
ImageView settingsImageView = view.findViewById(R.id.settings_imageview);
|
ImageView settingsImageView = view.findViewById(R.id.settings_imageview);
|
||||||
ImageView addressImageView = view.findViewById(R.id.monero_qr_imageview);
|
ImageView addressImageView = view.findViewById(R.id.monero_qr_imageview);
|
||||||
|
Loading…
Reference in New Issue
Block a user