add print debug

This commit is contained in:
2025-07-29 11:32:46 +02:00
parent ab8bffedc8
commit 121bf06546

View File

@@ -23,7 +23,7 @@ class _MzansiDirectoryState extends State<MzansiDirectory> {
@override @override
void initState() { void initState() {
super.initState(); super.initState();
if(widget.arguments.packageIndex == null) { if (widget.arguments.packageIndex == null) {
_selcetedIndex = 0; _selcetedIndex = 0;
} else { } else {
_selcetedIndex = widget.arguments.packageIndex!; _selcetedIndex = widget.arguments.packageIndex!;
@@ -32,6 +32,7 @@ class _MzansiDirectoryState extends State<MzansiDirectory> {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
print('MzansiDirectory build method called!');
return MihPackage( return MihPackage(
appActionButton: getAction(), appActionButton: getAction(),
appTools: getTools(), appTools: getTools(),
@@ -95,8 +96,8 @@ class _MzansiDirectoryState extends State<MzansiDirectory> {
List<String> getToolTitle() { List<String> getToolTitle() {
List<String> toolTitles = [ List<String> toolTitles = [
"Mzansi Search", "Mzansi Search",
"Contacts",
"Favourite Businesses", "Favourite Businesses",
"Contacts",
]; ];
return toolTitles; return toolTitles;
} }