mirror of
https://github.com/geode-sdk/android-launcher.git
synced 2026-10-21 16:32:39 +00:00
go green
This commit is contained in:
5 files changed
+64
No files matched your search
@@ -44,6 +44,7 @@ enum class ApplicationIcon {
|
||||
GEODE,
|
||||
PRIDE,
|
||||
TRANS,
|
||||
GREEN,
|
||||
SAPPHIRE;
|
||||
|
||||
companion object {
|
||||
@@ -53,6 +54,7 @@ enum class ApplicationIcon {
|
||||
"pride" -> 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,
|
||||
)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user