Fix getting resources string in fragment.
This commit is contained in:
parent
f9a7d6fe20
commit
142878a22b
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ public class ComboFragment extends SubscriberFragment implements View.OnClickLis
|
|||
lastConnectionView.setText(getString(R.string.combo_no_pump_connection, minAgo));
|
||||
lastConnectionView.setTextColor(Color.RED);
|
||||
} else if (plugin.getPump().lastConnectionAttempt > plugin.getPump().lastSuccessfulConnection) {
|
||||
lastConnectionView.setText(timeAgo + "\n" + R.string.combo_connect_attempt_failed);
|
||||
lastConnectionView.setText(timeAgo + "\n" + getString(R.string.combo_connect_attempt_failed));
|
||||
lastConnectionView.setTextColor(Color.YELLOW);
|
||||
} else {
|
||||
lastConnectionView.setText(timeAgo);
|
||||
|
|
Loading…
Reference in a new issue