removed debug code

This commit is contained in:
danijoo
2015-12-27 21:30:30 +01:00
parent d40152f7f5
commit 91bd187366

View File

@@ -122,12 +122,12 @@ public class WatchFaceDrawHelper {
canvas.drawText(dateText, mDateXOffset, mDateYOffset, mDateTextPaint); canvas.drawText(dateText, mDateXOffset, mDateYOffset, mDateTextPaint);
// Draw weather // Draw weather
// if(!(highestTemp == 0 && lowestTemp == 0)) { if(!(highestTemp == 0 && lowestTemp == 0)) {
String currentHigh = String.format(TEMP_FORMAT, highestTemp); String currentHigh = String.format(TEMP_FORMAT, highestTemp);
canvas.drawText(currentHigh, mTempHighXOffset, mTempYOffset, mHighestTempPaint); canvas.drawText(currentHigh, mTempHighXOffset, mTempYOffset, mHighestTempPaint);
String currentLow = String.format(TEMP_FORMAT, lowestTemp); String currentLow = String.format(TEMP_FORMAT, lowestTemp);
canvas.drawText(currentLow, mTempLowXOffset, mTempYOffset, mLowestTempPaint); canvas.drawText(currentLow, mTempLowXOffset, mTempYOffset, mLowestTempPaint);
// } }
if(weatherIcon != null) if(weatherIcon != null)
canvas.drawBitmap(weatherIcon, mWeatherIconXOffset, mWeatherIconYOffset, mIconPaint); canvas.drawBitmap(weatherIcon, mWeatherIconXOffset, mWeatherIconYOffset, mIconPaint);