Skip to content

Commit 99e1543

Browse files
committed
fix icon issue
1 parent 1b1da71 commit 99e1543

33 files changed

+35
-17
lines changed

android/app/src/main/AndroidManifest.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<application
77
android:label="taskwarrior"
88
android:name="${applicationName}"
9-
android:icon="@mipmap/splash">
9+
android:icon="@mipmap/launcher_icon">
1010
<activity
1111
android:name=".MainActivity"
1212
android:exported="true"
Loading
Loading
31.1 KB
Loading
Loading
31.1 KB
Loading
Loading
Loading
Loading

flutter_launcher_icons.yaml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
dev_dependencies:
2+
flutter_launcher_icons: "^0.13.1"
3+
4+
flutter_launcher_icons:
5+
android: "launcher_icon"
6+
ios: true
7+
image_path: "assets/images/taskwarrior.png"
8+
min_sdk_android: 21 # android min sdk min:16, default 21
9+
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading

pubspec.lock

+24-16
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,18 @@ packages:
125125
dependency: transitive
126126
description:
127127
name: checked_yaml
128-
sha256: dd007e4fb8270916820a0d66e24f619266b60773cddd082c6439341645af2659
128+
sha256: feb6bed21949061731a7a75fc5d2aa727cf160b91af9a3e464c5e3a32e28b5ff
129129
url: "https://pub.dev"
130130
source: hosted
131-
version: "2.0.1"
131+
version: "2.0.3"
132+
cli_util:
133+
dependency: transitive
134+
description:
135+
name: cli_util
136+
sha256: b8db3080e59b2503ca9e7922c3df2072cf13992354d5e944074ffa836fba43b7
137+
url: "https://pub.dev"
138+
source: hosted
139+
version: "0.4.0"
132140
clock:
133141
dependency: transitive
134142
description:
@@ -326,6 +334,14 @@ packages:
326334
description: flutter
327335
source: sdk
328336
version: "0.0.0"
337+
flutter_launcher_icons:
338+
dependency: "direct main"
339+
description:
340+
name: flutter_launcher_icons
341+
sha256: "526faf84284b86a4cb36d20a5e45147747b7563d921373d4ee0559c54fcdbcea"
342+
url: "https://pub.dev"
343+
source: hosted
344+
version: "0.13.1"
329345
flutter_lints:
330346
dependency: "direct dev"
331347
description:
@@ -362,10 +378,10 @@ packages:
362378
dependency: "direct main"
363379
description:
364380
name: flutter_native_splash
365-
sha256: e37964a0e7b08c3703e72b4d968c0596928c57b43400ade2037b655546742b6b
381+
sha256: e301ae206ff0fb09b67d3716009c6c28c2da57a0ad164827b178421bb9d601f7
366382
url: "https://pub.dev"
367383
source: hosted
368-
version: "2.2.9"
384+
version: "2.2.18"
369385
flutter_native_timezone:
370386
dependency: "direct main"
371387
description:
@@ -484,10 +500,10 @@ packages:
484500
dependency: transitive
485501
description:
486502
name: image
487-
sha256: "8e9d133755c3e84c73288363e6343157c383a0c6c56fc51afcc5d4d7180306d6"
503+
sha256: a72242c9a0ffb65d03de1b7113bc4e189686fc07c7147b8b41811d0dd0e0d9bf
488504
url: "https://pub.dev"
489505
source: hosted
490-
version: "3.3.0"
506+
version: "4.0.17"
491507
import_sorter:
492508
dependency: "direct main"
493509
description:
@@ -524,18 +540,10 @@ packages:
524540
dependency: transitive
525541
description:
526542
name: json_annotation
527-
sha256: "3520fa844009431b5d4491a5a778603520cdc399ab3406332dcc50f93547258c"
528-
url: "https://pub.dev"
529-
source: hosted
530-
version: "4.7.0"
531-
lint:
532-
dependency: transitive
533-
description:
534-
name: lint
535-
sha256: "4a539aa34ec5721a2c7574ae2ca0336738ea4adc2a34887d54b7596310b33c85"
543+
sha256: b10a7b2ff83d83c777edba3c6a0f97045ddadd56c944e1a23a3fdf43a1bf4467
536544
url: "https://pub.dev"
537545
source: hosted
538-
version: "1.10.0"
546+
version: "4.8.1"
539547
lints:
540548
dependency: transitive
541549
description:

pubspec.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ dependencies:
3838
double_back_to_close_app: ^2.1.0
3939
permission_handler: ^10.2.0
4040
timezone: ^0.9.2
41+
flutter_launcher_icons: ^0.13.1
4142

4243
dev_dependencies:
4344
flutter_test:

0 commit comments

Comments
 (0)