mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-24 00:10:47 +00:00
removed unnecessary loop
This commit is contained in:
parent
628ed6274f
commit
5e0f352bfb
1 changed files with 1 additions and 3 deletions
|
@ -174,9 +174,7 @@ class MeteringContainerBuidler extends StatelessWidget {
|
||||||
if (itemsCount <= 0) {
|
if (itemsCount <= 0) {
|
||||||
itemsCount = apertureValues.length;
|
itemsCount = apertureValues.length;
|
||||||
} else {
|
} else {
|
||||||
while (apertureValues[itemsCount - 1 + apertureOffset] != apertureValues.last) {
|
itemsCount += (apertureValues.length - 1) - (itemsCount - 1 + apertureOffset);
|
||||||
itemsCount += 1;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
final exposurePairs = List.generate(
|
final exposurePairs = List.generate(
|
||||||
|
|
Loading…
Reference in a new issue