Преглед на файлове

Fix monochrome launcher icon not applied when non-round shape is used (#8552)

Ivan Iskandar преди 2 години
родител
ревизия
d60367768b
променени са 2 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 1 0
      app/src/debug/res/mipmap-anydpi-v26/ic_launcher.xml
  2. 1 0
      app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml

+ 1 - 0
app/src/debug/res/mipmap-anydpi-v26/ic_launcher.xml

@@ -2,4 +2,5 @@
 <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
     <background android:drawable="@android:color/transparent"/>
     <foreground android:drawable="@drawable/ic_launcher_foreground"/>
+    <monochrome android:drawable="@drawable/ic_tachi_monochrome_launcher" />
 </adaptive-icon>

+ 1 - 0
app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml

@@ -2,4 +2,5 @@
 <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
     <background android:drawable="@android:color/transparent"/>
     <foreground android:drawable="@drawable/ic_launcher_foreground"/>
+    <monochrome android:drawable="@drawable/ic_tachi_monochrome_launcher" />
 </adaptive-icon>