We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17e1ff2 commit 6d77243Copy full SHA for 6d77243
app/src/main/java/fr/free/nrw/commons/settings/SettingsFragment.java
@@ -38,14 +38,9 @@ public class SettingsFragment extends PreferenceFragment {
38
39
@Inject @Named("default_preferences") SharedPreferences prefs;
40
41
- @Override
42
- public void onAttach(Context context) {
43
- AndroidInjection.inject(this);
44
- super.onAttach(context);
45
- }
46
-
47
@Override
48
public void onCreate(Bundle savedInstanceState) {
+ AndroidInjection.inject(this);
49
super.onCreate(savedInstanceState);
50
51
// Load the preferences from an XML resource
0 commit comments