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:
parent
0173a5240c
commit
42e199e672
|
|
@ -94,6 +94,13 @@ class _BookmarksState extends State<Bookmarks> {
|
||||||
icon: DidvanIcons.saha_regular,
|
icon: DidvanIcons.saha_regular,
|
||||||
iconSize: 24,
|
iconSize: 24,
|
||||||
),
|
),
|
||||||
|
const DidvanDivider(),
|
||||||
|
MenuOption(
|
||||||
|
onTap: () => _onCategorySelected(7),
|
||||||
|
title: 'اینفوگرافی',
|
||||||
|
icon: DidvanIcons.info_circle_regular,
|
||||||
|
iconSize: 24,
|
||||||
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
|
||||||
|
|
@ -40,6 +40,8 @@ class _FilteredBookmarksState extends State<FilteredBookmarks> {
|
||||||
return 'تحلیلهای رادار';
|
return 'تحلیلهای رادار';
|
||||||
case 6:
|
case 6:
|
||||||
return 'سها';
|
return 'سها';
|
||||||
|
case 7:
|
||||||
|
return 'اینفوگرافی';
|
||||||
default:
|
default:
|
||||||
return 'پویش';
|
return 'پویش';
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue