Commit d780c2cf authored by hizzd's avatar hizzd Committed by Dan Field

Fixed the LicensePage to close the page before loading the License causes an error (#34907)

parent fdcb57b6
......@@ -401,6 +401,9 @@ class _LicensePageState extends State<LicensePage> {
Priority.animation,
debugLabel: 'License',
);
if (!mounted) {
return;
}
setState(() {
_licenses.add(const Padding(
padding: EdgeInsets.symmetric(vertical: 18.0),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment