summaryrefslogtreecommitdiffstats
path: root/lib/data/data_providers/audio_notifier.dart
diff options
context:
space:
mode:
authorLisandro Pérez Meyer <lpmeyer@ics.com>2023-11-21 14:14:02 -0300
committerLisandro Pérez Meyer <lpmeyer@ics.com>2023-11-21 14:46:09 -0300
commit193d15a456587bcf3928fb99fe0c1aede82d119d (patch)
tree4d9c1ca16348ccea2d8c61ae28adb2e1890ccf68 /lib/data/data_providers/audio_notifier.dart
parent1cbdb8129dd5db73475e7cfe02255b6bec13c705 (diff)
Update volume bar.
Original from: Dominik Wawrzonek <dwawrzonek@ics.com> Bug-AGL: SPEC-4971 Change-Id: I80ed2fb908488dce3eb88b2cdb361ea9802d9a6b Signed-off-by: Lisandro Pérez Meyer <lpmeyer@ics.com>
Diffstat (limited to 'lib/data/data_providers/audio_notifier.dart')
-rw-r--r--lib/data/data_providers/audio_notifier.dart5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/data/data_providers/audio_notifier.dart b/lib/data/data_providers/audio_notifier.dart
index 8981036..1f8c1a9 100644
--- a/lib/data/data_providers/audio_notifier.dart
+++ b/lib/data/data_providers/audio_notifier.dart
@@ -7,10 +7,6 @@ class AudioNotifier extends StateNotifier<Audio> {
state = state.copyWith(treble: 5.0, bass: 5.0, rearFront: 5.0);
}
- void setVolume(double newVal) {
- state = state.copyWith(volume: newVal);
- }
-
void setTreble(double newVal) {
state = state.copyWith(treble: newVal);
}
@@ -23,3 +19,4 @@ class AudioNotifier extends StateNotifier<Audio> {
state = state.copyWith(rearFront: newVal);
}
}
+