Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Remove green background from ducky icon display

ashilkn023135afb5b5
diff --git a/mobile/apps/photos/assets/launcher_icon/icon-ducky-hugging-e.png b/mobile/apps/photos/assets/launcher_icon/icon-ducky-hugging-e.png
new file mode 100644
index 0000000000..79c9d175f4
Binary files /dev/null and b/mobile/apps/photos/assets/launcher_icon/icon-ducky-hugging-e.png differ
diff --git a/mobile/apps/photos/lib/ui/settings/app_icon_selection_screen.dart b/mobile/apps/photos/lib/ui/settings/app_icon_selection_screen.dart
index 8a42cc95f8..603a74f784 100644
--- a/mobile/apps/photos/lib/ui/settings/app_icon_selection_screen.dart
+++ b/mobile/apps/photos/lib/ui/settings/app_icon_selection_screen.dart
@@ -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(