fix : exit logic -> chicken

chore : profile page -> poultry science
This commit is contained in:
2025-09-13 13:52:25 +03:30
parent d05ee5b43f
commit ddcb85e8dd
14 changed files with 40 additions and 787 deletions

View File

@@ -683,10 +683,12 @@ class ProfilePage extends GetView<ProfileLogic> {
text: 'خروج',
backgroundColor: AppColor.error,
onPressed: () async {
await controller.rootLogic.tokenService.deleteAllTokens().then((value) {
Get.back();
Get.offAllNamed(LiveStockRoutes.auth, arguments: Module.chicken);
});
await controller.rootLogic.tokenService
.deleteModuleTokens(Module.liveStocks)
.then((value) {
Get.back();
Get.offAllNamed(LiveStockRoutes.auth, arguments: Module.chicken);
});
},
),
ROutlinedElevated(