Fixed the LicensePage to close the page before loading the License causes an error (#34907)
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user