We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c81a67 commit 73269afCopy full SHA for 73269af
1 file changed
lib/pages/shopinbit/shopinbit_settings_view.dart
@@ -54,12 +54,14 @@ class _ShopInBitSettingsViewState extends ConsumerState<ShopInBitSettingsView> {
54
.read(pSharedDrift)
55
.shopinBitSettingsDao
56
.getSettings();
57
- final key = await ref.read(pShopinBitService).loadCustomerKey();
58
if (mounted) {
59
- setState(() {
60
- _currentKey = key;
61
- _displayNameController.text = settings.displayName ?? "";
62
- });
+ final key = await ref.read(pShopinBitService).loadCustomerKey();
+ if (mounted) {
+ setState(() {
+ _currentKey = key;
+ _displayNameController.text = settings.displayName ?? "";
63
+ });
64
+ }
65
}
66
}();
67
0 commit comments