mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-04-18 14:22:53 +00:00
fix ui glitch
This commit is contained in:
parent
1d4a0bdbeb
commit
1650642cb2
1 changed files with 1 additions and 4 deletions
|
|
@ -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();
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue