From 193d15a456587bcf3928fb99fe0c1aede82d119d Mon Sep 17 00:00:00 2001 From: Lisandro Pérez Meyer Date: Tue, 21 Nov 2023 14:14:02 -0300 Subject: Update volume bar. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Original from: Dominik Wawrzonek Bug-AGL: SPEC-4971 Change-Id: I80ed2fb908488dce3eb88b2cdb361ea9802d9a6b Signed-off-by: Lisandro Pérez Meyer --- lib/core/constants/vss_path.dart | 4 +- lib/data/data_providers/audio_notifier.dart | 5 +- lib/data/data_providers/vehicle_notifier.dart | 71 ++++++++++++---------- lib/presentation/common_widget/volume_bar.dart | 32 +++++----- .../media_player/widgets/media_volume_bar.dart | 30 ++++----- pubspec.yaml | 1 - 6 files changed, 74 insertions(+), 69 deletions(-) diff --git a/lib/core/constants/vss_path.dart b/lib/core/constants/vss_path.dart index 236287f..2147b75 100644 --- a/lib/core/constants/vss_path.dart +++ b/lib/core/constants/vss_path.dart @@ -10,9 +10,9 @@ class VSSPath { static const String vehicleMediaVolume = 'Vehicle.Cabin.Infotainment.Media.Volume'; static const String vehicleIsChildLockActiveLeft = - 'Vehicle.Cabin.Door.Row1.DriverSide.IsChildLockActive'; + 'Vehicle.Cabin.Door.Row2.DriverSide.IsChildLockActive'; static const String vehicleIsChildLockActiveRight = - 'Vehicle.Cabin.Door.Row1.PassengerSide.IsChildLockActive'; + 'Vehicle.Cabin.Door.Row2.PassengerSide.IsChildLockActive'; static const String vehicleEngineSpeed = 'Vehicle.Powertrain.CombustionEngine.Speed'; static const String vehicleFrontLeftTire = 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