Skip to content

Commit

Permalink
improve(settings): eliminate possible null warning
Browse files Browse the repository at this point in the history
  • Loading branch information
dfyockey committed Oct 27, 2024
1 parent 3666856 commit 0626a6b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);

parentActivity = requireActivity();
prefs = PreferenceManager.getDefaultSharedPreferences(getContext());
prefs = PreferenceManager.getDefaultSharedPreferences(requireContext());
origprefs = prefs.getAll();
}

Expand Down

0 comments on commit 0626a6b

Please sign in to comment.