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:
commit
bc615a84c8
1 changed files with 6 additions and 3 deletions
|
|
@ -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…
Add table
Reference in a new issue