chore: wait for language change updates in sync

This commit is contained in:
ggurdin 2025-06-27 13:49:45 -04:00
parent 64b9d94bce
commit d423472019
No known key found for this signature in database
GPG key ID: A01CB41737CBB478

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();
}