Removing track_color_mode_none.

The default value for track_color_mode_options is
@string/none, not @string/track_color_mode_none.
See preferences.xml
This commit is contained in:
Jimmy Shih
2011-10-25 17:11:34 -07:00
parent c799f8d716
commit e7c0f3b5d0
5 changed files with 3 additions and 5 deletions
@@ -49,7 +49,7 @@ public class TrackPathPainterFactory {
String colorMode = prefs.getString(context.getString(R.string.track_color_mode_key), null);
Log.i(TAG, "Creating track path painter of type: " + colorMode);
if (colorMode == null || colorMode.equals(context.getString(R.string.track_color_mode_none))) {
if (colorMode == null || colorMode.equals(context.getString(R.string.none))) {
return new SingleColorTrackPathPainter(context);
} else if (colorMode.equals(context.getString(R.string.track_color_mode_fixed))) {
return new DynamicSpeedTrackPathPainter(context,