|
|
|
|
@ -161,11 +161,12 @@ class _MarkAttendanceWidgetState extends State<MarkAttendanceWidget> {
|
|
|
|
|
);
|
|
|
|
|
} else {
|
|
|
|
|
bool status = await model.fetchAttendanceTracking(context);
|
|
|
|
|
if (Platform.isIOS) await Future.delayed(const Duration(seconds: 3));
|
|
|
|
|
Utils.hideLoading(context);
|
|
|
|
|
showMDialog(
|
|
|
|
|
context,
|
|
|
|
|
backgroundColor: Colors.transparent,
|
|
|
|
|
isDismissable: false,
|
|
|
|
|
isDismissable: true,
|
|
|
|
|
child: SuccessDialog(widget.isFromDashboard),
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
@ -272,7 +273,7 @@ class _MarkAttendanceWidgetState extends State<MarkAttendanceWidget> {
|
|
|
|
|
showMDialog(
|
|
|
|
|
context,
|
|
|
|
|
backgroundColor: Colors.transparent,
|
|
|
|
|
isDismissable: false,
|
|
|
|
|
isDismissable: true,
|
|
|
|
|
child: SuccessDialog(widget.isFromDashboard),
|
|
|
|
|
);
|
|
|
|
|
} catch (ex) {
|
|
|
|
|
|