🐛 Fix balance value not being of type double

This commit is contained in:
2025-03-30 21:01:10 +02:00
parent 6567e13fdd
commit 47b266f216

View File

@ -83,7 +83,7 @@ class State {
String? toUuid;
bool mute;
double volume;
int balance;
double balance;
State({
this.toUuid,
@ -96,7 +96,7 @@ class State {
toUuid: json["toUUID"],
mute: json["mute"],
volume: json["volume"]?.toDouble(),
balance: json["balance"],
balance: json["balance"]?.toDouble(),
);
Map<String, dynamic> toJson() => {