Commit Graph

2 Commits

Author SHA1 Message Date
Johannes Klein
89f80ab123 Migrate PhotoLibrary to TS (#3451)
* Move file

* Add type

* Destructure uri

* Update optional argument

* Add screen params interface

* Access uri from image

This is probably a functional change, but the intention behind the previous code was clear. TS revealed that there is an object of `image` though that needs to be accessed first. Have not seen any effect as to what is fixed by this.

* Add type

* Throw error when essential strings are undefined

* Add types to our package patch

* Update PhotoLibrary.tsx

* Only import what we use

* Add param property

* Type param as to what is passed in from AddObsButton

* Check for UUID and error out if not given

* Specify mandatory option

This is not a functional change because local ? x : y is used in the function and so the not branch was already executed.

* break part out into explicitly platform-specific flows
2026-03-24 01:12:49 +01:00
Johannes Klein
bff28d2dd5 Replace react-native-image-picker fork with patch (#3395)
* Update package.json

* Update package-lock.json

* Create react-native-image-picker+8.2.1.patch
2026-02-23 18:05:38 +01:00