Merge pull request #3290 from pangeachat/3289-level-not-switch-on-l2-change

chore: wait for language change updates in sync
This commit is contained in:
ggurdin 2025-06-27 13:50:15 -04:00 committed by GitHub
commit bc615a84c8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -125,9 +125,12 @@ class SettingsLearningController extends State<SettingsLearning> {
if (formKey.currentState!.validate()) {
await showFutureLoadingDialog(
context: context,
future: () async => pangeaController.userController.updateProfile(
(_) => _profile,
),
future: () async => pangeaController.userController
.updateProfile(
(_) => _profile,
waitForDataInSync: true,
)
.timeout(const Duration(seconds: 15)),
);
Navigator.of(context).pop();
}