fix: Visitante já possui visita em aberto

This commit is contained in:
J. A. Messias 2024-09-20 17:53:00 -03:00
parent 56966a56d0
commit 6f17d5ecfc
2 changed files with 2 additions and 5 deletions

View File

@ -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',

View File

@ -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();
} }
}); });