merge-requests/18/head
haroon amjad 3 years ago
parent 32b444334e
commit 34cb722b96

@ -129,9 +129,8 @@ class _LoginScreenState extends State<LoginScreen> {
Widget build(BuildContext context) { Widget build(BuildContext context) {
if (isAppOpenBySystem == null) { if (isAppOpenBySystem == null) {
isAppOpenBySystem = (ModalRoute.of(context)!.settings.arguments ?? true) as bool; isAppOpenBySystem = (ModalRoute.of(context)!.settings.arguments ?? true) as bool;
print('isAppOpenBySystem:$isAppOpenBySystem'); // username.text = "15153";
username.text = "15153"; // password.text = "Abcd@12345";
password.text = "Abcd@12345";
if (isAppOpenBySystem!) checkFirebaseToken(); if (isAppOpenBySystem!) checkFirebaseToken();
} }

@ -149,6 +149,9 @@ class _WorkListDetailScreenState extends State<WorkListDetailScreen> {
} catch (ex) { } catch (ex) {
Utils.hideLoading(context); Utils.hideLoading(context);
Utils.handleException(ex, context, null); Utils.handleException(ex, context, null);
setState(() {
});
} }
} }

Loading…
Cancel
Save