fix(auth): add mounted check for tags
This commit is contained in:
parent
45eda72966
commit
68f0a1d259
1 changed files with 3 additions and 1 deletions
|
@ -63,7 +63,9 @@ class _SetupEnterSecretKeyPageState extends State<SetupEnterSecretKeyPage> {
|
|||
|
||||
Future<void> _loadTags() async {
|
||||
allTags = await CodeDisplayStore.instance.getAllTags();
|
||||
setState(() {});
|
||||
if (mounted) {
|
||||
setState(() {});
|
||||
}
|
||||
}
|
||||
|
||||
@override
|
||||
|
|
Loading…
Add table
Reference in a new issue