From b6e88b20cb195df759e57b04254e008ee3aeb947 Mon Sep 17 00:00:00 2001 From: Chloe Date: Sun, 18 Oct 2026 18:43:44 -0500 Subject: [PATCH] go green --- app/src/main/AndroidManifest.xml | 20 +++++++++++++ .../com/geode/launcher/utils/IconUtils.kt | 9 ++++++ .../drawable/ic_launcher_green_background.xml | 29 +++++++++++++++++++ .../mipmap-anydpi-v26/ic_launcher_green.xml | 5 ++++ app/src/main/res/values/strings.xml | 1 + 5 files changed, 64 insertions(+) create mode 100644 app/src/main/res/drawable/ic_launcher_green_background.xml create mode 100644 app/src/main/res/mipmap-anydpi-v26/ic_launcher_green.xml diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 7cf366f..193accd 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -233,6 +233,26 @@ + + + + + + + + + + + + + + PRIDE "trans" -> TRANS "sapphire" -> SAPPHIRE + "green" -> GREEN else -> DEFAULT } } @@ -63,6 +65,7 @@ enum class ApplicationIcon { DEFAULT -> "default" TRANS -> "trans" SAPPHIRE -> "sapphire" + GREEN -> "green" } } @@ -105,5 +108,11 @@ object IconUtils { iconId = R.mipmap.ic_launcher_sapphire, nameId = R.string.application_icon_sapphire, ) + ApplicationIcon.GREEN -> ApplicationIconDetails( + id = id.toId(), + component = "MainActivityGreen", + iconId = R.mipmap.ic_launcher_green, + nameId = R.string.application_icon_green, + ) } } \ No newline at end of file diff --git a/app/src/main/res/drawable/ic_launcher_green_background.xml b/app/src/main/res/drawable/ic_launcher_green_background.xml new file mode 100644 index 0000000..99ed22e --- /dev/null +++ b/app/src/main/res/drawable/ic_launcher_green_background.xml @@ -0,0 +1,29 @@ + + + + + + + + + + + + diff --git a/app/src/main/res/mipmap-anydpi-v26/ic_launcher_green.xml b/app/src/main/res/mipmap-anydpi-v26/ic_launcher_green.xml new file mode 100644 index 0000000..a846895 --- /dev/null +++ b/app/src/main/res/mipmap-anydpi-v26/ic_launcher_green.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 7f9b458..c9ede50 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -338,6 +338,7 @@ Pride Transgender Sapphire + Android Change icon to %1$s? Geode Launcher will close itself to change the application icon.