fix: Visitante já possui visita em aberto
This commit is contained in:
parent
56966a56d0
commit
6f17d5ecfc
|
@ -88,10 +88,6 @@ GoRouter createRouter(AppStateNotifier appStateNotifier) => GoRouter(
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
FFRoute(
|
|
||||||
name: 'face',
|
|
||||||
path: '/face',
|
|
||||||
builder: (context, params) => FaceDetectorView()),
|
|
||||||
FFRoute(
|
FFRoute(
|
||||||
name: 'receptionPage',
|
name: 'receptionPage',
|
||||||
path: '/receptionPage',
|
path: '/receptionPage',
|
||||||
|
|
|
@ -1536,7 +1536,8 @@ Widget scheduleVisit(BuildContext context,
|
||||||
|
|
||||||
await ShareUtil.showShare(value.jsonBody);
|
await ShareUtil.showShare(value.jsonBody);
|
||||||
} else {
|
} else {
|
||||||
await DialogUtil.errorDefault(context);
|
final message = value.jsonBody['error_msg'];
|
||||||
|
await DialogUtil.error(context, message);
|
||||||
context.pop();
|
context.pop();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue