allow setting dates before epoch
This commit is contained in:
parent
c17dac2a83
commit
0e4fbdade2
2 changed files with 1 additions and 5 deletions
|
@ -17,6 +17,7 @@ All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
- disabling the recycle bin will delete forever items in it
|
- disabling the recycle bin will delete forever items in it
|
||||||
- remember pin status of albums becoming empty
|
- remember pin status of albums becoming empty
|
||||||
|
- allow setting dates before 1970/01/01
|
||||||
- upgraded Flutter to stable v3.7.3
|
- upgraded Flutter to stable v3.7.3
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
|
@ -811,11 +811,6 @@ abstract class ImageProvider {
|
||||||
fields: List<String>,
|
fields: List<String>,
|
||||||
callback: ImageOpCallback,
|
callback: ImageOpCallback,
|
||||||
) {
|
) {
|
||||||
if (dateMillis != null && dateMillis < 0) {
|
|
||||||
callback.onFailure(Exception("dateMillis=$dateMillis cannot be negative"))
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
val success = editExif(context, path, uri, mimeType, callback) { exif ->
|
val success = editExif(context, path, uri, mimeType, callback) { exif ->
|
||||||
when {
|
when {
|
||||||
dateMillis != null -> {
|
dateMillis != null -> {
|
||||||
|
|
Loading…
Reference in a new issue