You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For beta testing reasons I did implement a "reset configuration" PrefButton and implemented it in a "Support" child PrefPage.
The reset function calls
var prefService = Get.find<PrefServiceShared>();
await prefService.set(<Id>, <DefaultValue>);
...
setState(() {});
This resets the settings but strangely the PrefText() elements in the root PrefPage are not cleared. If i switch to another page and then back to settings, the field is empty. The PrefDropdown fields on the other hand are reset to the default values.
Is this a bug or am I doing something wrong?
Bernd
The text was updated successfully, but these errors were encountered:
For beta testing reasons I did implement a "reset configuration" PrefButton and implemented it in a "Support" child PrefPage.
The reset function calls
This resets the settings but strangely the PrefText() elements in the root PrefPage are not cleared. If i switch to another page and then back to settings, the field is empty. The PrefDropdown fields on the other hand are reset to the default values.
Is this a bug or am I doing something wrong?
Bernd
The text was updated successfully, but these errors were encountered: