mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
save language
This commit is contained in:
parent
1c2c1e6250
commit
814f9f4c19
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user