remove debug toasts

This commit is contained in:
AdrianLxM 2018-07-21 22:21:12 +02:00 committed by GitHub
parent 983e9c3658
commit 77d2326331
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,7 +26,6 @@ import info.nightscout.androidaps.plugins.Overview.graphExtensions.PointsWithLab
import info.nightscout.utils.DateUtil;
import info.nightscout.utils.DecimalFormatter;
import info.nightscout.utils.JsonHelper;
import info.nightscout.utils.ToastUtils;
@DatabaseTable(tableName = Treatment.TABLE_TREATMENTS)
public class Treatment implements DataPointWithLabelInterface {
@ -140,15 +139,12 @@ public class Treatment implements DataPointWithLabelInterface {
*/
public boolean equalsRePumpHistory(Treatment other) {
if (date != other.date) {
ToastUtils.showToastInUiThread(MainApp.instance(), "date: " + date + " vs " + other.date);
return false;
}
if (insulin != other.insulin) {
ToastUtils.showToastInUiThread(MainApp.instance(), "insulin: " + insulin + " vs " + other.insulin);
return false;
}
if (carbs != other.carbs) {
ToastUtils.showToastInUiThread(MainApp.instance(), "carbs: " + carbs + " vs " + other.carbs);
return false;
}
return true;