TM-164,165,167 bugs fixed
This commit is contained in:
@@ -36,7 +36,20 @@ class DesktopNavigationWidget extends StatelessWidget {
|
||||
crossAxisAlignment: CrossAxisAlignment.center,
|
||||
children: [
|
||||
const SizedBox(width: 40),
|
||||
SvgPicture.asset(AssetsManager.logoSmall),
|
||||
InkWell(
|
||||
onTap: () {
|
||||
if (currentIndex == 0) {
|
||||
return;
|
||||
} else {
|
||||
Router.neglect(
|
||||
context,
|
||||
() => const HomeRouteData().go(context),
|
||||
);
|
||||
context.read<HomeViewModel>().init();
|
||||
}
|
||||
},
|
||||
child: SvgPicture.asset(AssetsManager.logoSmall),
|
||||
),
|
||||
const Spacer(),
|
||||
_navigationItem(
|
||||
context: context,
|
||||
|
||||
Reference in New Issue
Block a user