diff --git a/safeDispatch/src/main/java/com/safemobile/safedispatch/AlarmActivity.java b/safeDispatch/src/main/java/com/safemobile/safedispatch/AlarmActivity.java index d2db467..52091a1 100644 --- a/safeDispatch/src/main/java/com/safemobile/safedispatch/AlarmActivity.java +++ b/safeDispatch/src/main/java/com/safemobile/safedispatch/AlarmActivity.java @@ -128,9 +128,10 @@ public class AlarmActivity extends Activity { setConvertViewAlarm(arg1); // save position ackPosition = position; - if (!AppParams.DEMO) + if (!AppParams.DEMO) { + getParentTab().getAlarms(AppParams.USERID); setACK(getAllAlarms().get(position).idx, getAllAlarms().get(position).type, getAllAlarms().get(position).unitName); - else { + } else { getAllAlarms().get(position).ack = 1; updateResultsInUi("else"); }