mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-04-24 22:57:12 -04:00
save language
This commit is contained in:
parent
1c2c1e6250
commit
814f9f4c19
1 changed files with 5 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue