QOL: MIH Package performance improvements pt2
This commit is contained in:
parent
cea8ccab5a
commit
730c5d2bdf
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue