danar history context fix
This commit is contained in:
parent
b1d5b12f55
commit
d78d0be270
2 changed files with 2 additions and 2 deletions
|
@ -62,7 +62,7 @@ public class NewNSTreatmentDialog extends DialogFragment implements View.OnClick
|
||||||
|
|
||||||
private FragmentActivity context;
|
private FragmentActivity context;
|
||||||
|
|
||||||
private CareportalFragment.OptionsToShow options;
|
private static CareportalFragment.OptionsToShow options;
|
||||||
|
|
||||||
NSProfile profile;
|
NSProfile profile;
|
||||||
String units;
|
String units;
|
||||||
|
|
|
@ -178,7 +178,7 @@ public class DanaRHistoryActivity extends Activity {
|
||||||
@Override
|
@Override
|
||||||
public void onClick(View v) {
|
public void onClick(View v) {
|
||||||
if (mExecutionService.isConnected() || mExecutionService.isConnecting()) {
|
if (mExecutionService.isConnected() || mExecutionService.isConnecting()) {
|
||||||
ToastUtils.showToastInUiThread(getApplicationContext(), getString(R.string.pumpbusy));
|
ToastUtils.showToastInUiThread(MainApp.instance().getApplicationContext(), getString(R.string.pumpbusy));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
mHandler.post(new Runnable() {
|
mHandler.post(new Runnable() {
|
||||||
|
|
Loading…
Reference in a new issue