diff --git a/designer_v2/lib/common_views/search.dart b/designer_v2/lib/common_views/search.dart index 55c48e3b9..842e82ce2 100644 --- a/designer_v2/lib/common_views/search.dart +++ b/designer_v2/lib/common_views/search.dart @@ -59,8 +59,7 @@ class SearchState extends State { shadowColor: MaterialStateProperty.resolveWith((states) { return Colors.transparent; }), - ) - ); + )); } @override diff --git a/designer_v2/lib/common_views/standard_table.dart b/designer_v2/lib/common_views/standard_table.dart index 967c77508..f3a7ee6c1 100644 --- a/designer_v2/lib/common_views/standard_table.dart +++ b/designer_v2/lib/common_views/standard_table.dart @@ -247,9 +247,7 @@ class _StandardTableState extends State> { int _sortLogic(T a, T b, {required int columnIndex, required bool? sortAscending, bool? useSortPredicate}) { final sortPredicate = widget.sortColumnPredicates; - if (useSortPredicate != null && useSortPredicate && - sortPredicate != null && sortPredicate[columnIndex] != null - ) { + if (useSortPredicate != null && useSortPredicate && sortPredicate != null && sortPredicate[columnIndex] != null) { final int res; if (sortAscending ?? true) { res = sortPredicate[columnIndex]!(a, b);