Skip to content

Commit a9a7301

Browse files
cgiulianicgiuliani
cgiuliani
authored and
cgiuliani
committed
fix: mounted from context.mounted
1 parent cc0cdb0 commit a9a7301

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

configurator/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: configurator
22
description: A new Flutter package project.
3-
version: 0.0.35
3+
version: 0.0.36
44
homepage:
55

66
environment:

configurator_flutter/lib/src/provider/config_provider.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class _ConfigurationProviderState extends State<Configurator> {
3535
}
3636

3737
void configListener() {
38-
if (context.mounted) {
38+
if (mounted) {
3939
setState(() {});
4040
}
4141
}

configurator_flutter/pubspec.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: configurator_flutter
22
description: A new Flutter package project.
3-
version: 0.0.35
3+
version: 0.0.36
44
homepage:
55

66
environment:
@@ -30,7 +30,7 @@ dependencies:
3030
git:
3131
url: [email protected]:camrongiuliani/configurator.git
3232
path: configurator
33-
ref: 0.0.35
33+
ref: 0.0.36
3434

3535
dev_dependencies:
3636
flutter_test:

0 commit comments

Comments
 (0)