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