Skip to content

Commit

Permalink
Fix localization crash in DevSettingsActivity
Browse files Browse the repository at this point in the history
Differential Revision: D6970534

fbshipit-source-id: da1df549b6157e5ec684cf4eed5f411740a73ed0
  • Loading branch information
ayc1 authored and facebook-github-bot committed Feb 13, 2018
1 parent bedaaa1 commit 427e464
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class DevSettingsActivity extends PreferenceActivity {
@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 # to comment.