save language

This commit is contained in:
appflowy 2022-01-28 18:48:09 +08:00
parent 1c2c1e6250
commit 814f9f4c19

View File

@ -32,6 +32,10 @@ class AppearanceSettingModel extends ChangeNotifier with EquatableMixin {
}
void setLanguage(String language) {
// TODO: save the language settings
if (setting.language != language) {
setting.language = language;
notifyListeners();
save();
}
}
}