digidem / comapeo-mobile

The next version of Mapeo mobile
GNU General Public License v3.0
5 stars 0 forks source link

Cancel button in camera view when adding photo to observation doe not render properly #417

Closed achou11 closed 1 week ago

achou11 commented 3 weeks ago

Issue resides in https://github.com/digidem/comapeo-mobile/blob/8e2863ca63dfad8c9419528ba99c997e282f1ec9/src/frontend/screens/AddPhoto.tsx. Need to apply the background color to the text, not the touchable.

Reproduction steps

  1. start observation creation

  2. press "add photo" button

What actually happens:

The button is basically a thin rectangle at the bottom of the screen

Screenshot 2024-06-18 at 15 59 18

Expectation:

Should be a thicker red rectangle with the appropriate copy. Here's a screenshot from Mapeo

Screenshot 2024-06-18 at 16 00 00