Remove green background from ducky icon display

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
ashilkn
2025-08-28 16:07:32 +05:30
parent 137033be67
commit 023135afb5
2 changed files with 12 additions and 21 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

View File

@@ -14,7 +14,11 @@ enum AppIcon {
iconLight("Light", "IconLight", "assets/launcher_icon/icon-light.png"),
iconDark("Dark", "IconDark", "assets/launcher_icon/icon-dark.png"),
iconOG("OG", "IconOG", "assets/launcher_icon/icon-og.png"),
iconDuckyHuggingE("Ducky", "IconDuckyHuggingE", "assets/launcher_icon/icon-ducky-hugging-e-foreground.png");
iconDuckyHuggingE(
"Ducky",
"IconDuckyHuggingE",
"assets/launcher_icon/icon-ducky-hugging-e.png",
);
final String name;
final String id;
@@ -176,26 +180,13 @@ class _AppIconTile extends StatelessWidget {
cornerRadius: 12,
cornerSmoothing: 1,
),
child: appIcon == AppIcon.iconDuckyHuggingE
? Container(
width: 60,
height: 60,
color: const Color(0xFF08C225),
child: Image(
width: 60,
height: 60,
image: AssetImage(
appIcon.path,
),
),
)
: Image(
width: 60,
height: 60,
image: AssetImage(
appIcon.path,
),
),
child: Image(
width: 60,
height: 60,
image: AssetImage(
appIcon.path,
),
),
),
const SizedBox(width: 12),
AnimatedSwitcher(