mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-27 21:03:54 +01:00
Remove redundant field in SettingsActivity
There is a field that is set in SettingsActivity that is never used at all. This patch removes that field to improve performance and code tidiness.
This commit is contained in:
parent
67dfa170d2
commit
9b26465b1d
1 changed files with 0 additions and 4 deletions
|
|
@ -13,8 +13,6 @@ import fr.free.nrw.commons.R;
|
||||||
import fr.free.nrw.commons.theme.NavigationBaseActivity;
|
import fr.free.nrw.commons.theme.NavigationBaseActivity;
|
||||||
|
|
||||||
public class SettingsActivity extends NavigationBaseActivity {
|
public class SettingsActivity extends NavigationBaseActivity {
|
||||||
private SettingsFragment settingsFragment;
|
|
||||||
|
|
||||||
private AppCompatDelegate settingsDelegate;
|
private AppCompatDelegate settingsDelegate;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
@ -26,8 +24,6 @@ public class SettingsActivity extends NavigationBaseActivity {
|
||||||
setTheme(R.style.LightAppTheme);
|
setTheme(R.style.LightAppTheme);
|
||||||
}
|
}
|
||||||
|
|
||||||
settingsFragment = (SettingsFragment) getFragmentManager().findFragmentById(R.id.settingsFragment);
|
|
||||||
|
|
||||||
super.onCreate(savedInstanceState);
|
super.onCreate(savedInstanceState);
|
||||||
setContentView(R.layout.activity_settings);
|
setContentView(R.layout.activity_settings);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue