diff --git a/README.md b/README.md index 1cabb850..d2ec7f84 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,9 @@ Welcome to grow tracker. This app was created to help record data about growing plants in order to monitor the growing conditions to help make the plants grow better, and identify potential issues during the grow process. -[Latest APK: (MD5) 97ee6036106397faeae2217c704adfda v2.5.2](https://github.com/7LPdWcaW/GrowTracker-Android/releases/download/v2.5.2/v2.5.2-production.apk) +[Latest APK: (MD5) 9dbd3d137cbf062d3d06b1918942fc10 v2.5.2](https://github.com/7LPdWcaW/GrowTracker-Android/releases/download/v2.5.2/v2.5.2-production.apk) -[Latest APK (Discrete): (MD5) 6a4963bd1c2a4998af7e0b05d2f8c681 v2.5.2](https://github.com/7LPdWcaW/GrowTracker-Android/releases/download/v2.5.2/v2.5.2-discrete.apk) +[Latest APK (Discrete): (MD5) 078a0326b61fd065cb7168535de85767 v2.5.2](https://github.com/7LPdWcaW/GrowTracker-Android/releases/download/v2.5.2/v2.5.2-discrete.apk) [Get it on F-Droid with automatic updates](https://f-droid.org/packages/me.anon.grow/) diff --git a/app/src/main/java/me/anon/controller/adapter/PlantAdapter.java b/app/src/main/java/me/anon/controller/adapter/PlantAdapter.java index 471f8ab3..f28c8986 100644 --- a/app/src/main/java/me/anon/controller/adapter/PlantAdapter.java +++ b/app/src/main/java/me/anon/controller/adapter/PlantAdapter.java @@ -138,7 +138,7 @@ public void setPlants(List plants) @Override public void onClick(View v) { Intent details = new Intent(v.getContext(), PlantDetailsActivity.class); - details.putExtra("plant_index", plants.indexOf(plant)); + details.putExtra("plant_index", PlantManager.getInstance().getPlants().indexOf(plant)); v.getContext().startActivity(details); } });