QOL: MIH Package performance improvements pt2

This commit is contained in:
2025-11-28 13:13:27 +02:00
parent cea8ccab5a
commit 730c5d2bdf

View File

@@ -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);
},
),
),