Localization file updates

merge-requests/427/head
haroon amjad 4 years ago
parent 829fcd1461
commit 96c290c3f3

File diff suppressed because it is too large Load Diff

@ -530,7 +530,7 @@ class _AppDrawerState extends State<AppDrawer> {
this.familyFileProvider.silentLoggin(user is AuthenticatedUser ? null : user, mainUser: user is AuthenticatedUser).then((value) {
// GifLoaderDialogUtils.hideDialog(context);
// Navigator.of(context).pop();
loginAfter(value, context);
loginAfter(value, context, user is AuthenticatedUser);
}).catchError((err) {
GifLoaderDialogUtils.hideDialog(context);
print(err);
@ -539,9 +539,9 @@ class _AppDrawerState extends State<AppDrawer> {
});
}
loginAfter(result, context) async {
loginAfter(result, context, isMainUser) async {
Utils.hideProgressDialog();
Provider.of<ProjectViewModel>(context, listen: false).setPrivilege(privilegeList: result, isLoginChild: true);
Provider.of<ProjectViewModel>(context, listen: false).setPrivilege(privilegeList: result, isLoginChild: !isMainUser);
result = CheckActivationCode.fromJson(result);
var familyFile = await sharedPref.getObject(FAMILY_FILE);

Loading…
Cancel
Save