Permalink
Browse files

Fix localization crash in DevSettingsActivity

Differential Revision: D6970534

fbshipit-source-id: da1df549b6157e5ec684cf4eed5f411740a73ed0
  • Loading branch information...
ayc1 authored and facebook-github-bot committed Feb 13, 2018
1 parent bedaaa1 commit 427e464bb95e4e0ecc7455e71b5d477014618200
@@ -24,7 +24,7 @@
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setTitle(R.string.catalyst_settings_title);
setTitle(getApplication().getResources().getString(R.string.catalyst_settings_title));
addPreferencesFromResource(R.xml.preferences);
}
}

0 comments on commit 427e464

Please sign in to comment.