QOL: MIH Package performance improvements pt2
This commit is contained in:
@@ -176,7 +176,7 @@ class _MihPackageState extends State<MihPackage>
|
|||||||
// color: Colors.black,
|
// color: Colors.black,
|
||||||
child: FittedBox(
|
child: FittedBox(
|
||||||
child: Text(
|
child: Text(
|
||||||
widget.appToolTitles[widget.selectedbodyIndex],
|
widget.appToolTitles[_currentIndex],
|
||||||
style: const TextStyle(
|
style: const TextStyle(
|
||||||
fontSize: 23,
|
fontSize: 23,
|
||||||
fontWeight: FontWeight.w600,
|
fontWeight: FontWeight.w600,
|
||||||
@@ -202,7 +202,7 @@ class _MihPackageState extends State<MihPackage>
|
|||||||
setState(() {
|
setState(() {
|
||||||
_currentIndex = index;
|
_currentIndex = index;
|
||||||
});
|
});
|
||||||
widget.onIndexChange(widget.selectedbodyIndex);
|
widget.onIndexChange(index);
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user