Skip to content

Commit bd7c310

Browse files
committed
🔖 Bump version
1 parent d58171e commit bd7c310

File tree

6 files changed

+265
-31
lines changed

6 files changed

+265
-31
lines changed

bin/src/constants/config.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
class Config {
22
Config._();
33

4-
static const String version = '1.1.6';
4+
static const String version = '1.1.7';
55
static final Uri githubRepositoryUrl =
66
Uri.https('github.com', '/techouse/alfred-gitmoji');
77
static const String algoliaApplicationId = 'WODHKE4WZG';

bin/src/models/search_result.dart

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
import 'package:json_annotation/json_annotation.dart';
2+
3+
part 'search_result.g.dart';
4+
5+
@JsonSerializable()
16
class SearchResult {
27
const SearchResult({
38
required this.objectID,
@@ -26,21 +31,8 @@ class SearchResult {
2631
'semver',
2732
];
2833

29-
SearchResult.fromJson(Map<String, dynamic> json)
30-
: objectID = json['objectID'] as String,
31-
emoji = json['emoji'] as String,
32-
entity = json['entity'] as String,
33-
code = json['code'] as String,
34-
description = json['description'] as String,
35-
name = json['name'] as String,
36-
semver = json['semver'] as String?;
34+
factory SearchResult.fromJson(Map<String, dynamic> json) =>
35+
_$SearchResultFromJson(json);
3736

38-
Map<String, dynamic> toJson() => {
39-
'emoji': emoji,
40-
'entity': entity,
41-
'code': code,
42-
'description': description,
43-
'name': name,
44-
'semver': semver,
45-
};
37+
Map<String, dynamic> toJson() => _$SearchResultToJson(this);
4638
}

bin/src/models/search_result.g.dart

Lines changed: 28 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@
251251
<key>variablesdontexport</key>
252252
<array/>
253253
<key>version</key>
254-
<string>1.1.6</string>
254+
<string>1.1.7</string>
255255
<key>webaddress</key>
256256
<string>https://github.com/techouse</string>
257257
</dict>

0 commit comments

Comments
 (0)