add title to Mzansi Profile

This commit is contained in:
2025-05-29 14:57:41 +02:00
parent bb81d29cf7
commit 5b9c252983

View File

@@ -26,6 +26,7 @@ class _MzansiProfileState extends State<MzansiProfile> {
appActionButton: getAction(), appActionButton: getAction(),
appTools: getTools(), appTools: getTools(),
appBody: getToolBody(), appBody: getToolBody(),
appToolTitles: getToolTitle(),
selectedbodyIndex: _selcetedIndex, selectedbodyIndex: _selcetedIndex,
onIndexChange: (newValue) { onIndexChange: (newValue) {
setState(() { setState(() {
@@ -74,4 +75,12 @@ class _MzansiProfileState extends State<MzansiProfile> {
)); ));
return toolBodies; return toolBodies;
} }
List<String> getToolTitle() {
List<String> toolTitles = [
"Profile",
"Settings",
];
return toolTitles;
}
} }