Skip to content

Commit

Permalink
Fix logical error in TimePickerDialog - the RenderObject forgets to u…
Browse files Browse the repository at this point in the history
…pdate fields (flutter#112040)
  • Loading branch information
fzyzcjy committed Oct 27, 2022
1 parent 6cf3c25 commit d93208a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/flutter/lib/src/cupertino/dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -808,7 +808,8 @@ class _CupertinoDialogRenderWidget extends RenderObjectWidget {
void updateRenderObject(BuildContext context, _RenderCupertinoDialog renderObject) {
renderObject
..isInAccessibilityMode = _isInAccessibilityMode(context) && !isActionSheet
..dividerColor = CupertinoDynamicColor.resolve(dividerColor, context);
..dividerColor = CupertinoDynamicColor.resolve(dividerColor, context)
..isActionSheet = isActionSheet;
}

@override
Expand Down

0 comments on commit d93208a

Please sign in to comment.