Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 2 additions & 10 deletions lib/dashboard/view/dashboard_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -244,24 +244,16 @@ class _QuickActionsCard extends StatelessWidget {
onPressed: () => context.goNamed(Routes.createHeadlineName),
),
const SizedBox(height: AppSpacing.sm),
ElevatedButton.icon(
OutlinedButton.icon(
icon: const Icon(Icons.create_new_folder_outlined),
label: Text(l10n.createCategory),
onPressed: () => context.goNamed(Routes.createCategoryName),
style: ElevatedButton.styleFrom(
backgroundColor: theme.colorScheme.secondaryContainer,
foregroundColor: theme.colorScheme.onSecondaryContainer,
),
),
const SizedBox(height: AppSpacing.sm),
ElevatedButton.icon(
OutlinedButton.icon(
icon: const Icon(Icons.add_to_photos_outlined),

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The add_to_photos_outlined icon might be confusing for an action to 'Create Source', as it's strongly associated with images. A source in this application's context is a news organization or publication.

Using a more representative icon like Icons.add_business_outlined would improve clarity and make the UI more intuitive.

              icon: const Icon(Icons.add_business_outlined),

label: Text(l10n.createSource),
onPressed: () => context.goNamed(Routes.createSourceName),
style: ElevatedButton.styleFrom(
backgroundColor: theme.colorScheme.secondaryContainer,
foregroundColor: theme.colorScheme.onSecondaryContainer,
),
),
],
),
Expand Down
Loading