Skip to content

Commit 01c00a8

Browse files
[MaskedTransition] Fix typo (material-components#7541)
There was a typo in material-components#7519. This PR fixes it, as well as some other occurrences of the same typo.
1 parent 5836cd4 commit 01c00a8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

components/Dialogs/examples/DialogsCustomShadowExampleViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class CustomShadowViewController: UIViewController {
3232
// Setting the corner radius of the view's layer will propagate to the shadow
3333
// layer when the view is presented by MDCDailogPresentationController.
3434
// Note that setting the corner radius in viewDidLoad is not recommended, since it
35-
// will be overriden if callers apply a themer to the MDCDailogPresentationController instance.
35+
// will be overridden if callers apply a themer to the MDCDailogPresentationController instance.
3636
self.view.layer.cornerRadius = 32.0
3737

3838
bodyLabel.text =

components/Dialogs/src/MDCAlertController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ - (void)setupAlertView {
399399
[self addButtonToAlertViewForAction:action];
400400
}
401401
// Explicitly overwrite the view default if true
402-
// We set this last to make sure all other properties are set first and no overriden by setting
402+
// We set this last to make sure all other properties are set first and no overridden by setting
403403
// this.
404404
if (self.mdc_adjustsFontForContentSizeCategory) {
405405
self.alertView.mdc_adjustsFontForContentSizeCategory = YES;

components/MaskedTransition/src/MDCMaskedTransitionController.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
`UIModalPresentationCustom` in order to use this property.
6464
6565
Avoid calling -frameOfPresentedViewInContainerView on the UIPresentationController parameter of
66-
this block, because this block is called from an overriden implementation of that method that
66+
this block, because this block is called from an overridden implementation of that method that
6767
passes self in as a parameter, and doing this can result in an infinite loop.
6868
*/
6969
@property(nonatomic, copy, nullable) CGRect (^calculateFrameOfPresentedView)

0 commit comments

Comments
 (0)