Skip to content

Commit 129bd1c

Browse files
committed
refactor(content_management): adjust column sizes and remove status column
- Remove status column from headlines page - Adjust last updated column size to small - Remove fixed width from actions column
1 parent 0cd4ce3 commit 129bd1c

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

lib/content_management/view/headlines_page.dart

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,17 +74,15 @@ class _HeadlinesPageState extends State<HeadlinesPage> {
7474
),
7575
DataColumn2(
7676
label: Text(l10n.sourceName),
77-
size: ColumnSize.M,
77+
size: ColumnSize.S,
7878
),
79-
DataColumn2(label: Text(l10n.status), size: ColumnSize.S),
8079
DataColumn2(
8180
label: Text(l10n.lastUpdated),
82-
size: ColumnSize.M,
81+
size: ColumnSize.S,
8382
),
8483
DataColumn2(
8584
label: Text(l10n.actions),
8685
size: ColumnSize.S,
87-
fixedWidth: 120,
8886
),
8987
],
9088
source: _HeadlinesDataSource(
@@ -164,7 +162,6 @@ class _HeadlinesDataSource extends DataTableSource {
164162
),
165163
),
166164
DataCell(Text(headline.source.name)),
167-
DataCell(Text(headline.status.l10n(context))),
168165
DataCell(
169166
Text(
170167
DateFormat('dd-MM-yyyy').format(headline.updatedAt.toLocal()),

0 commit comments

Comments
 (0)