misc
This commit is contained in:
parent
6942518b4b
commit
2af485247d
@ -333,7 +333,7 @@ class _MainViewWidget extends State<MainViewWidget> {
|
|||||||
if (instanceDTO.isAssistant == true) {
|
if (instanceDTO.isAssistant == true) {
|
||||||
tabletAppContext.applicationInstanceDTO = tabletInstance;
|
tabletAppContext.applicationInstanceDTO = tabletInstance;
|
||||||
}
|
}
|
||||||
if (tabletInstance.isStatistic == true) {
|
if (tabletInstance.hasStats == true) {
|
||||||
tabletAppContext.statisticsService = StatisticsService(
|
tabletAppContext.statisticsService = StatisticsService(
|
||||||
clientAPI: tabletAppContext.clientAPI!,
|
clientAPI: tabletAppContext.clientAPI!,
|
||||||
instanceId: tabletAppContext.instanceId,
|
instanceId: tabletAppContext.instanceId,
|
||||||
|
|||||||
@ -166,14 +166,6 @@ class _SectionPageDetailState extends State<SectionPageDetail> {
|
|||||||
textStyle: new TextStyle(fontSize: kIsWeb ? kWebSectionTitleDetailSize : kSectionTitleDetailSize, /*color: widget.textColor,*/ fontFamily: 'Roboto'),
|
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'),
|
|
||||||
)
|
|
||||||
)
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user