mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-09-18 21:50:56 +00:00
Rename settings activity XML to squelch warnings in latest AndroidStudio.
This commit is contained in:
parent
daf37bab17
commit
5d5d0ea144
3 changed files with 2 additions and 2 deletions
|
@ -57,7 +57,7 @@ public class Main extends NbActivity implements StateChangedListener, SwipeRefre
|
|||
|
||||
@Override
|
||||
public void onCreate(Bundle savedInstanceState) {
|
||||
PreferenceManager.setDefaultValues(this, R.layout.activity_settings, false);
|
||||
PreferenceManager.setDefaultValues(this, R.xml.activity_settings, false);
|
||||
|
||||
isLightTheme = PrefsUtils.isLightThemeSelected(this);
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ public class Settings extends PreferenceActivity implements SharedPreferences.On
|
|||
preferenceManager.setSharedPreferencesName(PrefConstants.PREFERENCES);
|
||||
SharedPreferences prefs = getSharedPreferences(PrefConstants.PREFERENCES, 0);
|
||||
prefs.registerOnSharedPreferenceChangeListener(this);
|
||||
addPreferencesFromResource(R.layout.activity_settings);
|
||||
addPreferencesFromResource(R.xml.activity_settings);
|
||||
|
||||
// Remove the reading category of references on pre-4.4 devices as it only contains
|
||||
// the single tap for immersive preference
|
||||
|
|
Loading…
Add table
Reference in a new issue