fix: save route's
This commit is contained in:
@@ -34,7 +34,10 @@ class RolePage extends GetView<RoleLogic> {
|
||||
title: role.keys.first,
|
||||
onTap: () async {
|
||||
String route = role.values.first;
|
||||
await controller.gService.saveSelectedRole(route);
|
||||
await controller.gService.saveSelectedRole(
|
||||
Module.chicken,
|
||||
route,
|
||||
);
|
||||
Get.offAllNamed(route);
|
||||
},
|
||||
);
|
||||
@@ -106,7 +109,10 @@ class RolePage extends GetView<RoleLogic> {
|
||||
child: InkWell(
|
||||
onTap: onTap,
|
||||
child: Center(
|
||||
child: Text(title, style: AppFonts.yekan12Bold.copyWith(color: AppColor.blueNormal)),
|
||||
child: Text(
|
||||
title,
|
||||
style: AppFonts.yekan12Bold.copyWith(color: AppColor.blueNormal),
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user