fix ui glitch

This commit is contained in:
otsmr 2026-04-09 22:19:44 +02:00
parent 1d4a0bdbeb
commit 1650642cb2

View file

@ -30,11 +30,8 @@ class _ReduceFlamesViewState extends State<ReduceFlamesView> {
if (backupFlames.isEmpty) {
backupFlames = update;
}
update.sort(
(a, b) => a.flameCounter.compareTo(b.flameCounter),
);
setState(() {
allGroups = update.where((g) => g.flameCounter > 1).toList();
allGroups = update.where((g) => g.flameCounter >= 1).toList();
});
});
}