add print debug
This commit is contained in:
parent
ab8bffedc8
commit
121bf06546
1 changed files with 3 additions and 2 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue