Fix: Arrumado bug de aparecer modal na tela de login
This commit is contained in:
parent
0e6bb9a03a
commit
43cd04707f
|
@ -401,21 +401,23 @@ Future<bool> checkLocals({
|
||||||
if (locals != null && locals.isEmpty) {
|
if (locals != null && locals.isEmpty) {
|
||||||
await toggleApp(context, false);
|
await toggleApp(context, false);
|
||||||
return false;
|
return false;
|
||||||
} else if (locals.where((local) => local['CLU_STATUS'] != 'A').isNotEmpty) {
|
} else {
|
||||||
await showModalBottomSheet(
|
// else if (locals.where((local) => local['CLU_STATUS'] != 'A').isNotEmpty) {
|
||||||
isScrollControlled: true,
|
// await showModalBottomSheet(
|
||||||
backgroundColor: Colors.transparent,
|
// isScrollControlled: true,
|
||||||
enableDrag: false,
|
// backgroundColor: Colors.transparent,
|
||||||
isDismissible: false,
|
// enableDrag: false,
|
||||||
context: context,
|
// isDismissible: false,
|
||||||
builder: (context) => Padding(
|
// context: context,
|
||||||
padding: MediaQuery.viewInsetsOf(context),
|
// builder: (context) => Padding(
|
||||||
child: const BottomArrowLinkedLocalsComponentWidget(),
|
// padding: MediaQuery.viewInsetsOf(context),
|
||||||
),
|
// child: const BottomArrowLinkedLocalsComponentWidget(),
|
||||||
); // Chamada oti
|
// ),
|
||||||
|
// );
|
||||||
|
// }
|
||||||
|
await toggleApp(context, true);
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
await toggleApp(context, true);
|
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Future answersRequest(BuildContext context, String? ref, String? task,
|
Future answersRequest(BuildContext context, String? ref, String? task,
|
||||||
|
|
Loading…
Reference in New Issue