Unverified Commit d93208a6 authored by fzyzcjy's avatar fzyzcjy Committed by GitHub

Fix logical error in TimePickerDialog - the RenderObject forgets to update fields (#112040)

parent 6cf3c259
...@@ -808,7 +808,8 @@ class _CupertinoDialogRenderWidget extends RenderObjectWidget { ...@@ -808,7 +808,8 @@ class _CupertinoDialogRenderWidget extends RenderObjectWidget {
void updateRenderObject(BuildContext context, _RenderCupertinoDialog renderObject) { void updateRenderObject(BuildContext context, _RenderCupertinoDialog renderObject) {
renderObject renderObject
..isInAccessibilityMode = _isInAccessibilityMode(context) && !isActionSheet ..isInAccessibilityMode = _isInAccessibilityMode(context) && !isActionSheet
..dividerColor = CupertinoDynamicColor.resolve(dividerColor, context); ..dividerColor = CupertinoDynamicColor.resolve(dividerColor, context)
..isActionSheet = isActionSheet;
} }
@override @override
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment