Skip to content

Commit 7258821

Browse files
[material_ui] Remove redundant disabledBorder check in InputDecorationThemeData (flutter#12797)
Removes a duplicate condition in the == operator of InputDecorationThemeData. The check other.disabledBorder == disabledBorder appeared twice ,This was noticed during the review of flutter#183582. No behavior change since the duplicate was always true when reached. *List which issues are fixed by this PR. You must list at least one issue.* Port of flutter#187556 ## Pre-Review Checklist **Note**: The Flutter team is currently trialing the use of [Gemini Code Assist for GitHub](https://developers.google.com/gemini-code-assist/docs/review-github-code). Comments from the `gemini-code-assist` bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed. [^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.
1 parent c6d0c25 commit 7258821

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎packages/material_ui/lib/src/input_decorator.dart‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5668,7 +5668,6 @@ class InputDecorationThemeData with Diagnosticable {
56685668
other.hintMaxLines == hintMaxLines &&
56695669
other.alignLabelWithHint == alignLabelWithHint &&
56705670
other.constraints == constraints &&
5671-
other.disabledBorder == disabledBorder &&
56725671
other.visualDensity == visualDensity;
56735672
}
56745673

0 commit comments

Comments
 (0)