allow volume action override only on metering screen

This commit is contained in:
Vadim 2023-07-06 17:49:21 +02:00
parent cdaf0905da
commit 6ee662d79d

View file

@ -11,6 +11,10 @@ class VolumeActionsListTileBloc extends Cubit<VolumeAction> {
void onVolumeActionChanged(VolumeAction value) {
_settingsInteractor.setVolumeAction(value);
// while in settings we allow system to handle volume
// so that volume keys action works only when necessary - on the metering screen
_settingsInteractor.disableVolumeHandling();
emit(value);
}
}