Add 'Infographics' option to bookmarks menu and divider

This diff adds a new option for 'Infographics' in the bookmarks menu, along with a divider to separate it from the other options. The option is assigned the category ID of 7.
This commit is contained in:
MohammadTaha Basiri 2024-04-01 16:46:35 +03:30
parent 0173a5240c
commit 42e199e672
2 changed files with 9 additions and 0 deletions

View File

@ -94,6 +94,13 @@ class _BookmarksState extends State<Bookmarks> {
icon: DidvanIcons.saha_regular,
iconSize: 24,
),
const DidvanDivider(),
MenuOption(
onTap: () => _onCategorySelected(7),
title: 'اینفوگرافی',
icon: DidvanIcons.info_circle_regular,
iconSize: 24,
),
],
),
),

View File

@ -40,6 +40,8 @@ class _FilteredBookmarksState extends State<FilteredBookmarks> {
return 'تحلیل‌های رادار';
case 6:
return 'سها';
case 7:
return 'اینفوگرافی';
default:
return 'پویش';
}