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,
|
||||
child: FittedBox(
|
||||
child: Text(
|
||||
widget.appToolTitles[widget.selectedbodyIndex],
|
||||
widget.appToolTitles[_currentIndex],
|
||||
style: const TextStyle(
|
||||
fontSize: 23,
|
||||
fontWeight: FontWeight.w600,
|
||||
|
|
@ -202,7 +202,7 @@ class _MihPackageState extends State<MihPackage>
|
|||
setState(() {
|
||||
_currentIndex = index;
|
||||
});
|
||||
widget.onIndexChange(widget.selectedbodyIndex);
|
||||
widget.onIndexChange(index);
|
||||
},
|
||||
),
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue