mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2025-09-18 12:16:40 +00:00
set aperture when saving a pinhole photo
This commit is contained in:
parent
960c2360d2
commit
232a9316cd
1 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,4 @@
|
|||
import 'dart:collection';
|
||||
import 'dart:io';
|
||||
|
||||
import 'package:collection/collection.dart';
|
||||
|
@ -34,7 +35,7 @@ class LogbookPhotosProvider extends StatefulWidget {
|
|||
}
|
||||
|
||||
class LogbookPhotosProviderState extends State<LogbookPhotosProvider> {
|
||||
final Map<String, LogbookPhoto> _photos = {};
|
||||
final LinkedHashMap<String, LogbookPhoto> _photos = LinkedHashMap();
|
||||
bool _isEnabled = true;
|
||||
|
||||
@override
|
||||
|
@ -90,6 +91,9 @@ class LogbookPhotosProviderState extends State<LogbookPhotosProvider> {
|
|||
name: path,
|
||||
timestamp: DateTime.timestamp(),
|
||||
ev: ev100,
|
||||
apertureValue: equipmentProfile is PinholeEquipmentProfile
|
||||
? ApertureValue(equipmentProfile.aperture, StopType.full)
|
||||
: null,
|
||||
iso: iso,
|
||||
nd: nd,
|
||||
coordinates: coordinates,
|
||||
|
|
Loading…
Reference in a new issue