diff --git a/lib/view/MainScreen/HomeScreen.dart b/lib/view/MainScreen/HomeScreen.dart index ca2ffb6..2e1bed0 100644 --- a/lib/view/MainScreen/HomeScreen.dart +++ b/lib/view/MainScreen/HomeScreen.dart @@ -651,7 +651,7 @@ Widget ProductWidget({ ProductsController productsController = Get.put(ProductsController()); return InkWell( onTap: () { - mainController.selectedIndex.value == 1; + mainController.updateTab(1); if (text == "Swing Trade") { productsController.selectedIndex.value = 0; } else if (text == "Options") { diff --git a/lib/view/login/Kyc.dart b/lib/view/login/Kyc.dart index 6d593c5..9a24209 100644 --- a/lib/view/login/Kyc.dart +++ b/lib/view/login/Kyc.dart @@ -161,12 +161,14 @@ class _KycState extends State { child: Scaffold( appBar: CommonAppbar( titleTxt: "KYC", - customActionWidget: InkWell( - onTap: () { - Get.toNamed(RouteName.updateriskprofile); - }, - child: text16W400("skip"), - ), + customActionWidget: fromScreen == "sidemenu-flow" + ? SizedBox() + : InkWell( + onTap: () { + Get.toNamed(RouteName.updateriskprofile); + }, + child: text16W400("skip"), + ), ), backgroundColor: Colors.black, extendBody: true,