removed debug code
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user