From 12cb62f87ac6b3003e97fc760fe747fb64b46ad2 Mon Sep 17 00:00:00 2001 From: shilangyu Date: Sat, 17 Apr 2021 12:22:15 +0200 Subject: [PATCH] Add changelog --- CHANGELOG.md | 9 +++++++++ lib/stores/config_store.dart | 2 ++ 2 files changed, 11 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 06d7a87..d852b53 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +## Unreleased + +### Added + +- Show avatars setting toggle +- Show scores setting toggle +- Default listing type for the home tab setting +- Import Lemmy settings: long press an account in account settings then choose the import option + ## v0.4.2 - 2021-04-12 ### Changed diff --git a/lib/stores/config_store.dart b/lib/stores/config_store.dart index 471dc23..b47e5eb 100644 --- a/lib/stores/config_store.dart +++ b/lib/stores/config_store.dart @@ -73,6 +73,7 @@ class ConfigStore extends ChangeNotifier { } late SortType _defaultSortType; + // default is set in fromJson @JsonKey(fromJson: _sortTypeFromJson) SortType get defaultSortType => _defaultSortType; set defaultSortType(SortType defaultSortType) { @@ -82,6 +83,7 @@ class ConfigStore extends ChangeNotifier { } late PostListingType _defaultListingType; + // default is set in fromJson @JsonKey(fromJson: _postListingTypeFromJson) PostListingType get defaultListingType => _defaultListingType; set defaultListingType(PostListingType defaultListingType) {