🐛 Fix late not initialized
This commit is contained in:
parent
6d755fc1b7
commit
580d9c7151
@ -83,7 +83,7 @@ class _PersonalizeScreenState extends State<PersonalizeScreen> {
|
|||||||
|
|
||||||
final AttachmentProvider provider = Get.find();
|
final AttachmentProvider provider = Get.find();
|
||||||
|
|
||||||
late Response attachResp;
|
Response? attachResp;
|
||||||
try {
|
try {
|
||||||
final file = File(image.path);
|
final file = File(image.path);
|
||||||
final hash = await calculateFileSha256(file);
|
final hash = await calculateFileSha256(file);
|
||||||
@ -96,6 +96,7 @@ class _PersonalizeScreenState extends State<PersonalizeScreen> {
|
|||||||
} catch (e) {
|
} catch (e) {
|
||||||
setState(() => _isBusy = false);
|
setState(() => _isBusy = false);
|
||||||
context.showErrorDialog(e);
|
context.showErrorDialog(e);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
final client = auth.configureClient('passport');
|
final client = auth.configureClient('passport');
|
||||||
|
Loading…
Reference in New Issue
Block a user