diff --git a/lib/Screens/MainView/main_view.dart b/lib/Screens/MainView/main_view.dart index 7562f97..f8625c4 100644 --- a/lib/Screens/MainView/main_view.dart +++ b/lib/Screens/MainView/main_view.dart @@ -333,7 +333,7 @@ class _MainViewWidget extends State { if (instanceDTO.isAssistant == true) { tabletAppContext.applicationInstanceDTO = tabletInstance; } - if (tabletInstance.isStatistic == true) { + if (tabletInstance.hasStats == true) { tabletAppContext.statisticsService = StatisticsService( clientAPI: tabletAppContext.clientAPI!, instanceId: tabletAppContext.instanceId, diff --git a/lib/Screens/MainView/section_page_detail.dart b/lib/Screens/MainView/section_page_detail.dart index 21917fc..8d0b099 100644 --- a/lib/Screens/MainView/section_page_detail.dart +++ b/lib/Screens/MainView/section_page_detail.dart @@ -166,14 +166,6 @@ class _SectionPageDetailState extends State { textStyle: new TextStyle(fontSize: kIsWeb ? kWebSectionTitleDetailSize : kSectionTitleDetailSize, /*color: widget.textColor,*/ fontFamily: 'Roboto'), ) ), - if(widget.sectionDTO.description!.where((translation) => translation.language == appContext.getContext().language).firstOrNull != null && widget.sectionDTO.description!.firstWhere((translation) => translation.language == appContext.getContext().language).value!.trim().isNotEmpty) - Align( - //alignment: Alignment.center, - child: HtmlWidget( - widget.sectionDTO.description!.where((translation) => translation.language == appContext.getContext().language).firstOrNull?.value ?? "", - textStyle: new TextStyle(fontSize: kIsWeb? kWebSectionDescriptionDetailSize : kSectionDescriptionDetailSize, /*color: widget.textColor,*/ fontFamily: 'Roboto'), - ) - ) ], ), ),