Skip to content
This repository has been archived by the owner on Feb 28, 2022. It is now read-only.

Commit

Permalink
Fix history
Browse files Browse the repository at this point in the history
  • Loading branch information
MGaetan89 committed Jun 27, 2015
1 parent 85cd053 commit 58df098
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.mgaetan89.showsrage.adapter;

import android.content.res.Resources;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.annotation.StringRes;
Expand Down Expand Up @@ -67,7 +68,9 @@ public void onBindViewHolder(ViewHolder holder, int position) {
holder.statusProvider.setText(status);
}
} else {
holder.statusProvider.setText(holder.statusProvider.getResources().getString(R.string.status_from, status, provider));
Resources resources = holder.statusProvider.getResources();

holder.statusProvider.setText(resources.getString(R.string.status_from, resources.getString(status), provider));
}
}
}
Expand Down

0 comments on commit 58df098

Please sign in to comment.