mirror of
https://github.com/status-im/react-native.git
synced 2025-01-16 12:34:17 +00:00
Fix localization crash in DevSettingsActivity
Differential Revision: D6970534 fbshipit-source-id: da1df549b6157e5ec684cf4eed5f411740a73ed0
This commit is contained in:
parent
bedaaa1419
commit
427e464bb9
@ -24,7 +24,7 @@ public class DevSettingsActivity extends PreferenceActivity {
|
|||||||
@Override
|
@Override
|
||||||
public void onCreate(Bundle savedInstanceState) {
|
public void onCreate(Bundle savedInstanceState) {
|
||||||
super.onCreate(savedInstanceState);
|
super.onCreate(savedInstanceState);
|
||||||
setTitle(R.string.catalyst_settings_title);
|
setTitle(getApplication().getResources().getString(R.string.catalyst_settings_title));
|
||||||
addPreferencesFromResource(R.xml.preferences);
|
addPreferencesFromResource(R.xml.preferences);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user