combov2: Remove notes from auto-inserted reservoir and battery changes

Unfortunately, even though the notes are informative, they do not fit
well in the treatments fragment. The only solution thus far is to remove
them from the therapy entries.

Fixes https://github.com/nightscout/AndroidAPS/issues/2382
This commit is contained in:
Carlos Rafael Giani 2023-03-05 19:50:27 +01:00
parent a6aa05b110
commit b4cb00ab0b

View file

@ -872,7 +872,6 @@ class ComboV2Plugin @Inject constructor (
pumpSync.insertTherapyEventIfNewWithTimestamp(
timestamp = System.currentTimeMillis(),
type = DetailedBolusInfo.EventType.INSULIN_CHANGE,
note = rh.gs(R.string.combov2_note_reservoir_change),
pumpId = null,
pumpType = PumpType.ACCU_CHEK_COMBO,
pumpSerial = serialNumber()
@ -897,7 +896,6 @@ class ComboV2Plugin @Inject constructor (
pumpSync.insertTherapyEventIfNewWithTimestamp(
timestamp = System.currentTimeMillis(),
type = DetailedBolusInfo.EventType.PUMP_BATTERY_CHANGE,
note = rh.gs(R.string.combov2_note_battery_change),
pumpId = null,
pumpType = PumpType.ACCU_CHEK_COMBO,
pumpSerial = serialNumber()