mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2024-11-27 14:15:16 +01:00
DroidFish: Use localized strings for white/black in the title bar.
This commit is contained in:
parent
4767bcb892
commit
cf312a2b20
|
@ -1754,8 +1754,8 @@ public class DroidFish extends Activity implements GUIInterface {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void setRemainingTime(long wTime, long bTime, long nextUpdate) {
|
public void setRemainingTime(long wTime, long bTime, long nextUpdate) {
|
||||||
whiteClock.setText("White: " + timeToString(wTime));
|
whiteClock.setText(getString(R.string.header_white) + " " + timeToString(wTime));
|
||||||
blackClock.setText("Black: " + timeToString(bTime));
|
blackClock.setText(getString(R.string.header_black) + " " + timeToString(bTime));
|
||||||
handlerTimer.removeCallbacks(r);
|
handlerTimer.removeCallbacks(r);
|
||||||
if (nextUpdate > 0) {
|
if (nextUpdate > 0) {
|
||||||
handlerTimer.postDelayed(r, nextUpdate);
|
handlerTimer.postDelayed(r, nextUpdate);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user