feat(ui): add premium PluriWave redesign
This commit is contained in:
@@ -120,7 +120,7 @@ class EstadoRadio extends ChangeNotifier {
|
||||
_suscripcionEstadoAudio = audio.estadoStream.listen((estado) {
|
||||
if (estado == EstadoReproduccion.error) {
|
||||
if (timer.activo) {
|
||||
timer.cancelar();
|
||||
unawaited(timer.cancelar());
|
||||
}
|
||||
notifyListeners();
|
||||
}
|
||||
@@ -199,7 +199,7 @@ class EstadoRadio extends ChangeNotifier {
|
||||
notifyListeners();
|
||||
} catch (e) {
|
||||
if (timer.activo) {
|
||||
timer.cancelar();
|
||||
unawaited(timer.cancelar());
|
||||
}
|
||||
final mensajeError = e.toString().replaceFirst('Exception: ', '');
|
||||
_errorController.add(
|
||||
@@ -222,7 +222,6 @@ class EstadoRadio extends ChangeNotifier {
|
||||
await deshabilitarPresetEcualizadorPorEmisora(emisora.uuid, notificar: false);
|
||||
}
|
||||
await cargarFavoritos();
|
||||
notifyListeners();
|
||||
return esFav;
|
||||
}
|
||||
|
||||
@@ -474,7 +473,7 @@ class EstadoRadio extends ChangeNotifier {
|
||||
}
|
||||
|
||||
void cancelarTimer() {
|
||||
timer.cancelar();
|
||||
unawaited(timer.cancelar());
|
||||
notifyListeners();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user