From 062bfefda51efc9d811719233ce3ee07e2302cae Mon Sep 17 00:00:00 2001 From: Avinash Sharma <133222313+Avinash-Codes@users.noreply.github.com> Date: Fri, 20 Dec 2024 01:12:20 +0530 Subject: [PATCH] all: smoother navigation community icon (fixes #4893) (#4894) Co-authored-by: dogi --- app/build.gradle | 4 ++-- .../myplanet/ui/dashboard/DashboardActivity.kt | 2 +- .../ui/dashboard/DashboardActivity.kt.lite | 2 +- app/src/main/res/drawable/community.png | Bin 0 -> 1369 bytes 4 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 app/src/main/res/drawable/community.png diff --git a/app/build.gradle b/app/build.gradle index ffad4c8dd7..258d7fd0f0 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -10,8 +10,8 @@ android { applicationId "org.ole.planet.myplanet" minSdkVersion 26 targetSdkVersion 34 - versionCode 2144 - versionName "0.21.44" + versionCode 2145 + versionName "0.21.45" ndkVersion '21.3.6528147' testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" vectorDrawables.useSupportLibrary = true diff --git a/app/src/main/java/org/ole/planet/myplanet/ui/dashboard/DashboardActivity.kt b/app/src/main/java/org/ole/planet/myplanet/ui/dashboard/DashboardActivity.kt index 8db9937a3a..2a3017aa89 100644 --- a/app/src/main/java/org/ole/planet/myplanet/ui/dashboard/DashboardActivity.kt +++ b/app/src/main/java/org/ole/planet/myplanet/ui/dashboard/DashboardActivity.kt @@ -817,7 +817,7 @@ class DashboardActivity : DashboardElementActivity(), OnHomeItemClickListener, N ResourcesCompat.getDrawable(resources, R.drawable.mycourses, null)?.let { menuImageList.add(it) } ResourcesCompat.getDrawable(resources, R.drawable.team, null)?.let { menuImageList.add(it) } ResourcesCompat.getDrawable(resources, R.drawable.business, null)?.let { menuImageList.add(it) } - ResourcesCompat.getDrawable(resources, R.drawable.survey, null)?.let { menuImageList.add(it) } + ResourcesCompat.getDrawable(resources, R.drawable.community, null)?.let { menuImageList.add(it) } ResourcesCompat.getDrawable(resources, R.drawable.survey, null)?.let { menuImageList.add(it) } return arrayOf( changeUX(R.string.menu_myplanet, menuImageList[0]).withIdentifier(0), diff --git a/app/src/main/java/org/ole/planet/myplanet/ui/dashboard/DashboardActivity.kt.lite b/app/src/main/java/org/ole/planet/myplanet/ui/dashboard/DashboardActivity.kt.lite index f14096eeae..aa0fee60d1 100644 --- a/app/src/main/java/org/ole/planet/myplanet/ui/dashboard/DashboardActivity.kt.lite +++ b/app/src/main/java/org/ole/planet/myplanet/ui/dashboard/DashboardActivity.kt.lite @@ -817,7 +817,7 @@ class DashboardActivity : DashboardElementActivity(), OnHomeItemClickListener, N ResourcesCompat.getDrawable(resources, R.drawable.mycourses, null)?.let { menuImageList.add(it) } ResourcesCompat.getDrawable(resources, R.drawable.team, null)?.let { menuImageList.add(it) } ResourcesCompat.getDrawable(resources, R.drawable.business, null)?.let { menuImageList.add(it) } - ResourcesCompat.getDrawable(resources, R.drawable.survey, null)?.let { menuImageList.add(it) } + ResourcesCompat.getDrawable(resources, R.drawable.community, null)?.let { menuImageList.add(it) } ResourcesCompat.getDrawable(resources, R.drawable.survey, null)?.let { menuImageList.add(it) } return arrayOf( changeUX(R.string.menu_myplanet, menuImageList[0]).withIdentifier(0), diff --git a/app/src/main/res/drawable/community.png b/app/src/main/res/drawable/community.png new file mode 100644 index 0000000000000000000000000000000000000000..e412b58ba2032b5a0ae2a58e3c7bbf786f66894e GIT binary patch literal 1369 zcmV-f1*ZCmP)2YRm)_+HL+1K$9T0T)(n2?Dps7>k8rWxiVnJnt+wld%c-!+Ev|m{yzzJ%${i z5!?wJS)q)2piM@fu4e}V&A`*n61+Wk2OJ|TGZ_|Vlrv3o)nwe$@0GZ`FXz?)Jq zDx;hMGWPc%IYh)$7qF|+nNKp{J1N*N2U%}uP!99Z7mI#pR$WoTzgA#o&MeOUGuT5P z8Km~Cx}t=?Ea69Glyd;^v;8IT?X)zVMVC+THFD(MjB+lLoF@{p+a91bi!Pt=Cg2yv z$%G1J9IRL~oD{=1T|AFuGC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