💄 Optimize thought input space to avoid input cover message

This commit is contained in:
2025-11-16 11:22:47 +08:00
parent 9a75228e38
commit 40c0e052cf
3 changed files with 19 additions and 3 deletions

View File

@@ -102,7 +102,7 @@ class ThoughtScreen extends HookConsumerWidget {
} catch (e) {
showSnackBar('Failed to retry billing');
}
hideLoadingModal(context);
if (context.mounted) hideLoadingModal(context);
},
[context, ref],
);

View File

@@ -62,7 +62,7 @@ class ThoughtSheet extends HookConsumerWidget {
} catch (e) {
showSnackBar('Failed to retry billing');
}
hideLoadingModal(context);
if (context.mounted) hideLoadingModal(context);
},
[context, ref],
);