-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ExistingContactEntity.setPhotoDirect fails when there is no previous photo #289
Comments
Lol. Nice catch! 🤦 It seems like this is regression. I broke this in this commit; 253ced8#r121421415 |
Btw, this bug is specific to |
@reactormonk, this is fixed in 0.3.1. I will not be releasing it any time soon since I'm waiting to include more issues in that release. If you must set the photo of an Thanks so much for raising this bug! ❤️ 🙏 🙇 |
🔥 🔥 🔥 🔥 🔥 🔥 🔥 🔥 |
The code in
ContactPhoto.kt
expects an existing photo, otherwise it'll fail:https://github.com/vestrel00/contacts-android/blob/main/core/src/main/java/contacts/core/util/ContactPhoto.kt#L381-L387
photoFileId
will always be null without an existing photo.The text was updated successfully, but these errors were encountered: