Skip to content

Commit da23f98

Browse files
committed
fix: repair Android Adaptive Icon "inset"
source: ionic-team#534
1 parent 051da7c commit da23f98

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/platforms/android/index.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -362,10 +362,10 @@ export class AndroidAssetGenerator extends AssetGenerator {
362362
<?xml version="1.0" encoding="utf-8"?>
363363
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
364364
<background>
365-
<inset android:drawable="@mipmap/ic_launcher_background" android:inset="16.7%" />
365+
<inset android:drawable="@mipmap/ic_launcher_background" android:inset="16.6%" />
366366
</background>
367367
<foreground>
368-
<inset android:drawable="@mipmap/ic_launcher_foreground" android:inset="16.7%" />
368+
<inset android:drawable="@mipmap/ic_launcher_foreground" android:inset="16.6%" />
369369
</foreground>
370370
</adaptive-icon>
371371
`.trim();
@@ -433,10 +433,10 @@ export class AndroidAssetGenerator extends AssetGenerator {
433433
<?xml version="1.0" encoding="utf-8"?>
434434
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
435435
<background>
436-
<inset android:drawable="@mipmap/ic_launcher_background" android:inset="16.7%" />
436+
<inset android:drawable="@mipmap/ic_launcher_background" android:inset="16.6%" />
437437
</background>
438438
<foreground>
439-
<inset android:drawable="@mipmap/ic_launcher_foreground" android:inset="16.7%" />
439+
<inset android:drawable="@mipmap/ic_launcher_foreground" android:inset="16.6%" />
440440
</foreground>
441441
</adaptive-icon>
442442
`.trim();

0 commit comments

Comments
 (0)