Remove unused code
This commit is contained in:
parent
bb09c2165f
commit
d17de431d2
|
@ -72,16 +72,6 @@ Location? locationFromExif(Map<String, IfdTag> exif) {
|
|||
}
|
||||
}
|
||||
|
||||
Future<Location?> tryLocationFromExif(File file) async {
|
||||
try {
|
||||
final exif = await getExif(file);
|
||||
return locationFromExif(exif);
|
||||
} catch (e) {
|
||||
_logger.severe("failed to get location from exif", e);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
GPSData _gpsDataFromExif(Map<String, IfdTag> exif) {
|
||||
final Map<String, dynamic> exifLocationData = {
|
||||
"lat": null,
|
||||
|
|
Loading…
Reference in a new issue