|
|
|
|
@ -307,7 +307,7 @@ class _WorkListDetailScreenState extends State<WorkListDetailScreen> {
|
|
|
|
|
mainAxisSize: MainAxisSize.min,
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.end,
|
|
|
|
|
children: [
|
|
|
|
|
myFab(LocaleKeys.pleaseEnterComments.tr(), "assets/images/skip.svg").onPress(() {
|
|
|
|
|
myFab(LocaleKeys.skip.tr(), "assets/images/skip.svg").onPress(() {
|
|
|
|
|
if (AppState().workList!.length - 1 > AppState().workListIndex!) {
|
|
|
|
|
AppState().setWorkListIndex = AppState().workListIndex! + 1;
|
|
|
|
|
workListData = null;
|
|
|
|
|
@ -354,7 +354,8 @@ class _WorkListDetailScreenState extends State<WorkListDetailScreen> {
|
|
|
|
|
if (notificationButtonsList[i].bUTTONACTION! == "REJECTED" || notificationButtonsList[i].bUTTONACTION! == "APPROVED" || notificationButtonsList[i].bUTTONACTION! == "CLOSE") {
|
|
|
|
|
continue;
|
|
|
|
|
}
|
|
|
|
|
fabs.add(myFab(notificationButtonsList[i].bUTTONLABEL!, notificationButtonsList[i].bUTTONICON ?? "", isIconAsset: false)
|
|
|
|
|
fabs.add(myFab(notificationButtonsList[i].bUTTONLABEL!, notificationButtonsList[i].bUTTONACTION == "DELEGATE" ? "assets/images/delegate.svg" : notificationButtonsList[i].bUTTONICON ?? "",
|
|
|
|
|
isIconAsset: notificationButtonsList[i].bUTTONACTION == "DELEGATE" ? true : false,)
|
|
|
|
|
.paddingOnly(bottom: 12)
|
|
|
|
|
.onPress(() => handleFabAction(notificationButtonsList[i])));
|
|
|
|
|
}
|
|
|
|
|
@ -778,7 +779,7 @@ class _WorkListDetailScreenState extends State<WorkListDetailScreen> {
|
|
|
|
|
// apiCallCount--;
|
|
|
|
|
// if (apiCallCount == 0) {
|
|
|
|
|
// Utils.hideLoading(context);
|
|
|
|
|
setState(() {});
|
|
|
|
|
setState(() {});
|
|
|
|
|
// }
|
|
|
|
|
} catch (ex) {
|
|
|
|
|
// apiCallCount--;
|
|
|
|
|
|