mirror of
https://github.com/peterosterlund2/droidfish.git
synced 2024-11-23 11:31:33 +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
|
||||
public void setRemainingTime(long wTime, long bTime, long nextUpdate) {
|
||||
whiteClock.setText("White: " + timeToString(wTime));
|
||||
blackClock.setText("Black: " + timeToString(bTime));
|
||||
whiteClock.setText(getString(R.string.header_white) + " " + timeToString(wTime));
|
||||
blackClock.setText(getString(R.string.header_black) + " " + timeToString(bTime));
|
||||
handlerTimer.removeCallbacks(r);
|
||||
if (nextUpdate > 0) {
|
||||
handlerTimer.postDelayed(r, nextUpdate);
|
||||
|
|
Loading…
Reference in New Issue
Block a user