Skip to content

Commit

Permalink
fix compile error...
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasoreland committed Jun 6, 2015
1 parent e26075a commit b25f888
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/src/org/runnerup/view/HistoryActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ public void bindView(View view, Context context, Cursor cursor) {
if (s != null) {
tv.setText(Sport.textOf(getApplicationContext(), s));
} else {
tv.setText(getResources().getText(R.string.Running));
tv.setText(Sport.textOf(getApplicationContext(), DB.ACTIVITY.SPORT_RUNNING));
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion app/src/org/runnerup/view/UploadActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ public View getView(int arg0, View arg1, ViewGroup parent) {
{
TextView tv = (TextView) view.findViewById(R.id.upload_list_sport);
if (ai.getSport() == null) {
tv.setText(getResources().getText(R.string.Running));
tv.setText(Sport.textOf(getApplicationContext(), DB.ACTIVITY.SPORT_RUNNING));
} else {
int sport = Sport.valueOf(ai.getSport()).getDbValue();
tv.setText(Sport.textOf(getApplicationContext(), sport));
Expand Down

0 comments on commit b25f888

Please sign in to comment.