Skip to content

Commit 01db55f

Browse files
reformat the code
1 parent a34160a commit 01db55f

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

lib/features/searching/widgets/searcher_grid.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ class _SearcherGridState extends State<_SearcherGrid> with SingleTickerProviderS
2626
vsync: this,
2727
);
2828

29-
// Define the scale animation from 0.1 to 1.2 then back to 1.0
3029
_scaleAnimation = TweenSequence([
3130
TweenSequenceItem(tween: Tween<double>(begin: 0.1, end: 1.4), weight: 60),
3231
TweenSequenceItem(tween: Tween<double>(begin: 1.4, end: 1.0), weight: 40),
@@ -37,7 +36,6 @@ class _SearcherGridState extends State<_SearcherGrid> with SingleTickerProviderS
3736
),
3837
);
3938

40-
// Define the color animation
4139
_colorAnimation = TweenSequence([
4240
TweenSequenceItem(tween: ColorTween(begin: startColor, end: mediumColor), weight: 40),
4341
TweenSequenceItem(tween: ColorTween(begin: mediumColor, end: finishedSearcherColor), weight: 60),

lib/features/sorting/selection/view_model/selection_sort_notifier.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ class SelectionSortNotifier extends SortingNotifier {
1515

1616
if (arr[j] < arr[minIndex]) {
1717
final previousIndex = minIndex;
18-
// to reset action
1918
if (minIndex != i) {
2019
steps.add(SortingStep(index1: previousIndex, index2: previousIndex, action: SortingStatus.none));
2120
}

0 commit comments

Comments
 (0)