From 2af485247d5f6f4be0eddcf4dd469b30de395f2c Mon Sep 17 00:00:00 2001 From: Thomas Fransolet Date: Fri, 17 Jul 2026 15:23:26 +0200 Subject: [PATCH] misc --- lib/Screens/MainView/main_view.dart | 2 +- lib/Screens/MainView/section_page_detail.dart | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) 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'), - ) - ) ], ), ),