openfoodfacts / smooth-app

The new Open Food Facts mobile application for Android and iOS, crafted with Flutter and Dart

Home Page:https://world.openfoodfacts.org/open-food-facts-mobile-app?utm_source=off&utf_medium=web&utm_campaign=github-repo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add timestamps in image picker

teolemon opened this issue · comments

What

  • Add timestamps in image picker
    image

@teolemon I've already read a similar issue. The thing is that we have 2 ways of displaying "all" pictures:

  1. in the product image page, below the 4 main, in columns of 3, and we display the timestamps
  2. in the "pick existing image" page, in columns of 2, and we don't display the timestamps

2 ways to solve this issue:

  1. re-use the same product image list - the one with the timestamps and remove the related dead code
  2. sort of duplicate code in the "pick existing image" page

I have a strong preference for reusing the code that already works.

Let's de duplicate for the 3 images per row + timestamps 👍