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

chore: wait for language change updates in sync
pull/2245/head
ggurdin 5 months ago committed by GitHub
commit bc615a84c8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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

Loading…
Cancel
Save