mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-06-05 21:49:48 +02:00
UM25: added reset option to current accumulation
This commit is contained in:
@@ -56,6 +56,7 @@ public class DataActivity extends AbstractGBActivity {
|
||||
|
||||
chargeDurationTextView = findViewById(R.id.um25_text_charge_duration);
|
||||
TextView wattHoursTextView = findViewById(R.id.um25_text_wattage_sum);
|
||||
TextView currentAccumulatedTextView = findViewById(R.id.um25_text_current_sum);
|
||||
|
||||
View.OnLongClickListener longClickListener = new View.OnLongClickListener() {
|
||||
@Override
|
||||
@@ -70,6 +71,7 @@ public class DataActivity extends AbstractGBActivity {
|
||||
|
||||
chargeDurationTextView.setOnLongClickListener(longClickListener);
|
||||
wattHoursTextView.setOnLongClickListener(longClickListener);
|
||||
currentAccumulatedTextView.setOnLongClickListener(longClickListener);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user