include busines home
This commit is contained in:
parent
a3c1963d30
commit
d2f93db580
1 changed files with 5 additions and 5 deletions
|
|
@ -227,11 +227,11 @@ class _MihBusinessHomeState extends State<MihBusinessHome>
|
|||
hintColor: MihColors.getPrimaryColor(
|
||||
MzansiInnovationHub.of(context)!.theme.mode == "Dark"),
|
||||
onPrefixIconTap: () {
|
||||
mzansiAiProvider
|
||||
.setStartUpQuestion(searchController.text);
|
||||
context.goNamed(
|
||||
"mzansiAi",
|
||||
);
|
||||
if (searchController.text.isNotEmpty) {
|
||||
mzansiAiProvider
|
||||
.setStartUpQuestion(searchController.text);
|
||||
}
|
||||
context.goNamed("mzansiAi");
|
||||
searchController.clear();
|
||||
},
|
||||
searchFocusNode: _searchFocusNode,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue