diff --git a/lib/ui/common_appbar.dart b/lib/ui/common_appbar.dart index 9b75499..a3c6699 100644 --- a/lib/ui/common_appbar.dart +++ b/lib/ui/common_appbar.dart @@ -39,24 +39,24 @@ class _CommonAppbarState extends State { getPrefs(); getNavigation(); getQuickLinks(); - getCopyRight(); + //getCopyRight(); } - void getCopyRight() async { - if (AppState().getContentInfoModel == null) { - try { - var model = await TangheemUserApiClient().getContentInfo(3); - var contentList = model?.data ?? []; - if (contentList.length > 0) { - _copyRight = contentList.first; - AppState().setContentInfoModel(_copyRight); - } - } catch (ex) {} - } else { - _copyRight = AppState().getContentInfoModel; - } - setState(() {}); - } + // void getCopyRight() async { + // if (AppState().getContentInfoModel == null) { + // try { + // var model = await TangheemUserApiClient().getContentInfo(3); + // var contentList = model?.data ?? []; + // if (contentList.length > 0) { + // _copyRight = contentList.first; + // AppState().setContentInfoModel(_copyRight); + // } + // } catch (ex) {} + // } else { + // _copyRight = AppState().getContentInfoModel; + // } + // setState(() {}); + // } void getNavigation() async { if (AppState().getNavigationModel?.data == null) { @@ -272,13 +272,13 @@ class _CommonAppbarState extends State { mainAxisAlignment: MainAxisAlignment.center, children: [ Text( - _copyRight.content ?? "", + "Powered by Cloud Solutions", maxLines: 1, textAlign: TextAlign.right, style: TextStyle(fontSize: 14), ), SizedBox(width: 8), - Image.network(_copyRight.exposeFilePath, width: 30, height: 30) + SvgPicture.asset("assets/logos/cloud_logo.svg", width: 30, height: 30) ], ), )