|
|
|
|
@ -78,6 +78,7 @@ class _CommonAppbarState extends State<CommonAppbar> {
|
|
|
|
|
if (widget.showDrawer) {
|
|
|
|
|
try {
|
|
|
|
|
quickLinks = (await TangheemUserApiClient().quickLinks())?.data ?? [];
|
|
|
|
|
quickLinks = quickLinks.where((element) => element.position=="down").toList();
|
|
|
|
|
quickLinks.sort((a, b) => a.orderNo.compareTo(b.orderNo));
|
|
|
|
|
} catch (ex) {}
|
|
|
|
|
setState(() {});
|
|
|
|
|
@ -239,7 +240,6 @@ class _CommonAppbarState extends State<CommonAppbar> {
|
|
|
|
|
url = ContentInfoScreen.routeName;
|
|
|
|
|
contentId = 1;
|
|
|
|
|
}
|
|
|
|
|
print("url:$url");
|
|
|
|
|
Navigator.pushNamed(context, url, arguments: contentId);
|
|
|
|
|
}),
|
|
|
|
|
),
|
|
|
|
|
|