Skip to content

Commit

Permalink
Fix arrow not rendering table tab (#294)
Browse files Browse the repository at this point in the history
* Fixed bug where arrow not rendering in table tab; increased column widths

* Bump v0.8.2+38
  • Loading branch information
andreped authored Sep 22, 2024
1 parent aa5702d commit a0113f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions lib/widgets/table.dart
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ class _TableWidgetState extends State<TableWidget> {
title,
style: TextStyle(fontWeight: FontWeight.bold),
),
if (_sortColumn == column)
if (_sortColumn == column.toLowerCase())
Icon(
_sortAscending ? Icons.arrow_upward : Icons.arrow_downward,
size: 16,
Expand Down Expand Up @@ -283,8 +283,8 @@ class _TableWidgetState extends State<TableWidget> {
}
: {
0: FixedColumnWidth(120.0),
1: FixedColumnWidth(80.0),
2: FixedColumnWidth(60.0),
1: FixedColumnWidth(90.0),
2: FixedColumnWidth(70.0),
3: FixedColumnWidth(120.0),
4: FixedColumnWidth(130.0),
},
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# In Windows, build-name is used as the major, minor, and patch parts
# of the product and file versions while build-number is used as the build suffix.
version: 0.8.1+37
version: 0.8.2+38

environment:
sdk: '>=3.4.3 <4.0.0'
Expand Down

0 comments on commit a0113f2

Please sign in to comment.