|
|
|
|
@ -167,9 +167,9 @@ class _DashboardScreenState extends State<DashboardScreen> with WidgetsBindingOb
|
|
|
|
|
if (ermIndex == list.length) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
Utils.showLoading(context);
|
|
|
|
|
// Utils.showLoading(context);
|
|
|
|
|
ItgMainRes? response = await DashboardApiClient().getAdvertisementDetail(list[ermIndex].notificationMasterId ?? "");
|
|
|
|
|
Utils.hideLoading(context);
|
|
|
|
|
// Utils.hideLoading(context);
|
|
|
|
|
if (response!.mohemmItgResponseItem!.result!.data != null) {
|
|
|
|
|
if (list[ermIndex].notificationType == "Survey") {
|
|
|
|
|
await Navigator.pushNamed(context, AppRoutes.survey, arguments: response.mohemmItgResponseItem!.result!.data!.first);
|
|
|
|
|
|