|
|
|
|
@ -140,7 +140,7 @@ class SelectedItemSheet extends StatelessWidget {
|
|
|
|
|
Future<void> performNetworkCall(BuildContext context, {String? email, String? userId}) async {
|
|
|
|
|
Utils.showLoading(context);
|
|
|
|
|
try {
|
|
|
|
|
await WorkListApiClient().submitComment(comment: comment, email: email, userId: userId, notificationId: notificationID, apiMode: apiMode, approverIndex: actionHistoryList!.sEQUENCE);
|
|
|
|
|
await WorkListApiClient().submitComment(comment: comment, email: email, userId: userId, notificationId: notificationID, apiMode: apiMode, approverIndex: actionHistoryList != null ? actionHistoryList!.sEQUENCE : null);
|
|
|
|
|
Utils.hideLoading(context);
|
|
|
|
|
// Navigator.pop(context);
|
|
|
|
|
// Navigator.pop(context);
|
|
|
|
|
@ -212,7 +212,7 @@ class SelectedItemSheet extends StatelessWidget {
|
|
|
|
|
: CircularAvatar(
|
|
|
|
|
height: 40,
|
|
|
|
|
width: 40,
|
|
|
|
|
).toShimmer()
|
|
|
|
|
)
|
|
|
|
|
: (actionHistoryList != null && actionHistoryList!.eMPLOYEEIMAGE != null)
|
|
|
|
|
? CircularAvatar(
|
|
|
|
|
height: 40,
|
|
|
|
|
@ -223,7 +223,7 @@ class SelectedItemSheet extends StatelessWidget {
|
|
|
|
|
: CircularAvatar(
|
|
|
|
|
height: 40,
|
|
|
|
|
width: 40,
|
|
|
|
|
).toShimmer(),
|
|
|
|
|
),
|
|
|
|
|
16.width,
|
|
|
|
|
Expanded(
|
|
|
|
|
child: (name ?? "").toText12(),
|
|
|
|
|
|