mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-01-22 08:46:18 +01:00
Fix build error
This commit is contained in:
parent
0aab97f2f5
commit
ce0b6d6c05
1 changed files with 4 additions and 2 deletions
|
@ -160,7 +160,7 @@ class Exif with EquatableMixin {
|
||||||
int.parse(str.substring(pos + 1)),
|
int.parse(str.substring(pos + 1)),
|
||||||
);
|
);
|
||||||
} catch (e, stackTrace) {
|
} catch (e, stackTrace) {
|
||||||
log.shout(
|
_$ExifNpLog.log.shout(
|
||||||
"[_tryParseRationalString] Failed to parse rational string: $str",
|
"[_tryParseRationalString] Failed to parse rational string: $str",
|
||||||
e,
|
e,
|
||||||
stackTrace);
|
stackTrace);
|
||||||
|
@ -175,7 +175,9 @@ class Exif with EquatableMixin {
|
||||||
try {
|
try {
|
||||||
return int.parse(str);
|
return int.parse(str);
|
||||||
} catch (e, stackTrace) {
|
} catch (e, stackTrace) {
|
||||||
log.shout("[_tryParseIntString] Failed to parse int string: $str", e,
|
_$ExifNpLog.log.shout(
|
||||||
|
"[_tryParseIntString] Failed to parse int string: $str",
|
||||||
|
e,
|
||||||
stackTrace);
|
stackTrace);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue