fix loading danar history

This commit is contained in:
Milos Kozak 2017-06-19 14:52:46 +02:00
parent b67d8be1ef
commit 7e1c435374

View file

@ -162,7 +162,7 @@ public class DanaRHistoryActivity extends Activity {
} }
}); });
clearCardView(); clearCardView();
((DanaRInterface)pump).loadHistory(RecordTypes.RECORD_TYPE_DAILY); ((DanaRInterface)pump).loadHistory(selected.type);
loadDataFromDB(selected.type); loadDataFromDB(selected.type);
runOnUiThread(new Runnable() { runOnUiThread(new Runnable() {
@Override @Override