Skip to content
This repository has been archived by the owner on May 20, 2023. It is now read-only.

Commit

Permalink
Cleanup unused local variables
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 260235940
  • Loading branch information
nshahan committed Jul 29, 2019
1 parent fbf4abb commit a1ba7a0
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -408,9 +408,7 @@ class DateRangeEditorComponent implements OnInit, AfterViewInit, Focusable {
for (var preset in _presets) {
bool isValid = preset.range.clamp(min: minDate, max: maxDate) != null;
if (isValid) _validPresets.add(preset);
MenuModel subMenu;
if (preset.alternatives != null) {
final subitems = <SelectableMenuItem<DatepickerPreset>>[];
for (var alternative in preset.alternatives) {
bool isValidAlternative =
alternative.range.clamp(min: minDate, max: maxDate) != null;
Expand Down

0 comments on commit a1ba7a0

Please sign in to comment.