WIP
This commit is contained in:
parent
aeb1a07f24
commit
23242ae571
|
@ -213,17 +213,11 @@ class LocalizationService {
|
||||||
// await DialogUtil.error(context, errorMsg).whenComplete(() async => await AuthenticationService.signOut(context));
|
// await DialogUtil.error(context, errorMsg).whenComplete(() async => await AuthenticationService.signOut(context));
|
||||||
}
|
}
|
||||||
else if (isAuthenticated && !isDevLinked) {
|
else if (isAuthenticated && !isDevLinked) {
|
||||||
final String log = '''
|
|
||||||
|
|
||||||
devUUID: $devUUID
|
|
||||||
userUUID: $userUUID
|
|
||||||
|
|
||||||
''';
|
|
||||||
errorMsg = FFLocalizations.of(context).getVariableText(
|
errorMsg = FFLocalizations.of(context).getVariableText(
|
||||||
ptText: 'Não foi possível vincular o dispositivo, tente novamente.',
|
ptText: 'Não foi possível vincular o dispositivo, tente novamente.',
|
||||||
enText: 'Unable to link device, try again',
|
enText: 'Unable to link device, try again',
|
||||||
);
|
);
|
||||||
await DialogUtil.warning(context, errorMsg+log);
|
await DialogUtil.warning(context, errorMsg);
|
||||||
}
|
}
|
||||||
else if (isAuthenticated && isDevLinked) await DialogUtil.error(context, errorMsg).whenComplete(() async => await selectLocal(context));
|
else if (isAuthenticated && isDevLinked) await DialogUtil.error(context, errorMsg).whenComplete(() async => await selectLocal(context));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue