mirror of
https://github.com/libretro/RetroArch
synced 2025-02-06 09:40:06 +00:00
Missed one string in DisplayRefreshRateTest.java. Now everything that matters should be within strings.xml now.
This commit is contained in:
parent
9310e1face
commit
1f6161b45e
@ -30,6 +30,7 @@
|
||||
<!-- Display Refresh Rate Test Class -->
|
||||
<string name="refresh_rate_calibration">Refresh rate calibration</string>
|
||||
<string name="touch_screen_with_fingers">Touch the screen with your fingers for more accurate measurements.</string>
|
||||
<string name="refresh_rate_measured_to">Refresh rate measured to: %1$s Hz.</string>
|
||||
|
||||
<!-- History Selection Class -->
|
||||
<string name="recently_played_games">Recently played games</string>
|
||||
|
@ -120,7 +120,7 @@ public final class DisplayRefreshRateTest extends Activity {
|
||||
protected void onDestroy() {
|
||||
SharedPreferences prefs = MainMenuActivity.getPreferences();
|
||||
String fps = prefs.getString("video_refresh_rate", "ERROR");
|
||||
Toast.makeText(this, "Refresh rate measured to: " + fps + " Hz.", Toast.LENGTH_LONG).show();
|
||||
Toast.makeText(this, String.format(getString(R.string.refresh_rate_measured_to), fps), Toast.LENGTH_LONG).show();
|
||||
super.onDestroy();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user