changed savings goal goal type to int

This commit is contained in:
2025-12-03 17:42:26 +01:00
parent a5dd644a62
commit ca7c3755c2
2 changed files with 3 additions and 3 deletions

View File

@@ -12,7 +12,7 @@ class GoalsScreen extends ConsumerStatefulWidget{
Subtask(name: "Terminar los deberes", completed: true),
Subtask(name: "Recoger la mesa", completed: true),
Subtask(name: "Lavarse los dientes", completed: false)
]), Task(rewardAmount: 10.05)];
]), Task(rewardAmount: 10)];
final List<SavingsGoal> savingsGoals;
@override
@@ -407,7 +407,7 @@ class SavingsBlockState extends ConsumerState<SavingsBlock>{
spacing: 8,
children: [
ProgressBar(
max: widget.savings[index].goal,
max: widget.savings[index].goal+0.0,
value: widget.savings[index].saved,
height: 64,
textSize: 40,