fix not attached to activity in bolus progress dialog
This commit is contained in:
parent
806cc4a3a7
commit
3aff89acdc
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ public class BolusProgressDialog extends DialogFragment implements View.OnClickL
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
if (c.sStatus == c.CONNECTING) {
|
if (c.sStatus == c.CONNECTING) {
|
||||||
statusView.setText(String.format(getString(R.string.danar_history_connectingfor), c.sSecondsElapsed));
|
statusView.setText(String.format(MainApp.sResources.getString(R.string.danar_history_connectingfor), c.sSecondsElapsed));
|
||||||
} else if (c.sStatus == c.CONNECTED) {
|
} else if (c.sStatus == c.CONNECTED) {
|
||||||
statusView.setText(MainApp.sResources.getString(R.string.connected));
|
statusView.setText(MainApp.sResources.getString(R.string.connected));
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue