|
@@ -409,6 +409,9 @@ class _MeasureLeftBoardState extends State<_MeasureLeftBoard> {
|
|
|
|
|
|
bool showCarotid2DSelectMeasure = false;
|
|
|
|
|
|
+
|
|
|
+ bool isThirdPart = Get.find<IApplication>().isThirdPart;
|
|
|
+
|
|
|
|
|
|
bool hideMeasureItems = false;
|
|
|
|
|
@@ -433,7 +436,10 @@ class _MeasureLeftBoardState extends State<_MeasureLeftBoard> {
|
|
|
|
|
|
|
|
|
void _onChangeImage(sender, e) {
|
|
|
- setState(() {});
|
|
|
+ final application = Get.find<IApplication>();
|
|
|
+ setState(() {
|
|
|
+ isThirdPart = application.isThirdPart;
|
|
|
+ });
|
|
|
}
|
|
|
|
|
|
@override
|
|
@@ -497,7 +503,8 @@ class _MeasureLeftBoardState extends State<_MeasureLeftBoard> {
|
|
|
children: [
|
|
|
FOffstage(
|
|
|
offstage: hideMeasureItems,
|
|
|
- child: LeftSiderHold(ifHideConfig: showCarotid2DSelectMeasure),
|
|
|
+ child: LeftSiderHold(
|
|
|
+ ifHideConfig: showCarotid2DSelectMeasure || isThirdPart),
|
|
|
),
|
|
|
FOffstage(
|
|
|
offstage: hideMeasureItems || hideCommentTab,
|