Skip to content

Commit

Permalink
Android用モノクロームアイコンの設定
Browse files Browse the repository at this point in the history
  • Loading branch information
Npepperlinux committed Apr 13, 2024
1 parent 10f5581 commit 7064f53
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
<monochrome android:drawable="@drawable/ic_launcher_monochrome"/>
</adaptive-icon>
Binary file added assets/images/icon_adaptive_monochrome.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ flutter_launcher_icons:
image_path: "assets/images/icon.png"
adaptive_icon_background: "#ace601"
adaptive_icon_foreground: "assets/images/icon_adaptive_foreground.png"
adaptive_icon_monochrome: "assets/images/icon_adaptive_monochrome.png" # Not working?
min_sdk_android: 21
windows:
generate: true
Expand Down

0 comments on commit 7064f53

Please sign in to comment.