From 6cab0182b03aa186b6ea1a2d76193f70da559df4 Mon Sep 17 00:00:00 2001 From: Vishesh Handa Date: Tue, 11 Aug 2020 14:05:11 +0200 Subject: [PATCH] Add emoji support to list of features --- assets/langs/en.yaml | 3 +++ lib/features.dart | 14 ++++++++++++++ 2 files changed, 17 insertions(+) diff --git a/assets/langs/en.yaml b/assets/langs/en.yaml index be936a67..cbd36c26 100644 --- a/assets/langs/en.yaml +++ b/assets/langs/en.yaml @@ -200,3 +200,6 @@ feature: yamlTagsKey: Customize the YAML tags key disableYamlHeader: Disable YAML Metadata Header customizeHomeScreen: Customize Home Screen + emojiSupport: + title: Emoji Support + subtitle: "Convert :heart: to ❤️" diff --git a/lib/features.dart b/lib/features.dart index 05f2a63b..3a4243c0 100644 --- a/lib/features.dart +++ b/lib/features.dart @@ -13,6 +13,7 @@ class Features { Feature.yamlModifiedKey, Feature.noteSorting, Feature.gitPushFreq, + Feature.emojiSupport, Feature.checkListEditor, Feature.disableYamlHeader, Feature.journalEditor, @@ -114,6 +115,14 @@ class Feature { false, ); + static final emojiSupport = Feature( + "EmojiSupport", + DateTime(2020, 02, 14), + tr("feature.emojiSupport.title"), + tr("feature.emojiSupport.subtitle"), + false, + ); + static final checkListEditor = Feature( "CheckListEditor", DateTime(2020, 02, 15), @@ -250,3 +259,8 @@ class Feature { true, ); } + +// Feature Adding checklist +// 1. Add to this Feature class +// 2. Add to all features +// 3. Make sure strings are translatable