fix : exit logic -> chicken
chore : profile page -> poultry science
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user