Skip to content

Commit 678ef0d

Browse files
committed
🚸 Add question mark for no image
1 parent d6d7895 commit 678ef0d

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

bin/main.dart

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,9 @@ Future<void> _performSearch(String query) async {
9191
copy: result.code,
9292
largeType: result.code,
9393
),
94-
icon:
95-
image != null ? AlfredItemIcon(path: image.absolute.path) : null,
94+
icon: AlfredItemIcon(
95+
path: image != null ? image.absolute.path : 'question.png',
96+
),
9697
valid: true,
9798
);
9899
}).toList()),
@@ -101,7 +102,7 @@ Future<void> _performSearch(String query) async {
101102
} else {
102103
workflow.addItem(
103104
AlfredItem(
104-
title: 'No matching Gitmojis found',
105+
title: 'No matching gitmoji found',
105106
icon: AlfredItemIcon(
106107
path: 'question.png',
107108
),

info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@
159159
<key>variablesdontexport</key>
160160
<array/>
161161
<key>version</key>
162-
<string>1.0.1</string>
162+
<string>1.0.2</string>
163163
<key>webaddress</key>
164164
<string>https://github.com/techouse</string>
165165
</dict>

version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.0.1
1+
1.0.2

0 commit comments

Comments
 (0)