Skip to content

Commit d93208a

Browse files
authored
Fix logical error in TimePickerDialog - the RenderObject forgets to update fields (#112040)
1 parent 6cf3c25 commit d93208a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/flutter/lib/src/cupertino/dialog.dart

+2-1
Original file line numberDiff line numberDiff line change
@@ -808,7 +808,8 @@ class _CupertinoDialogRenderWidget extends RenderObjectWidget {
808808
void updateRenderObject(BuildContext context, _RenderCupertinoDialog renderObject) {
809809
renderObject
810810
..isInAccessibilityMode = _isInAccessibilityMode(context) && !isActionSheet
811-
..dividerColor = CupertinoDynamicColor.resolve(dividerColor, context);
811+
..dividerColor = CupertinoDynamicColor.resolve(dividerColor, context)
812+
..isActionSheet = isActionSheet;
812813
}
813814

814815
@override

0 commit comments

Comments
 (0)