Skip to content

Commit

Permalink
[Snackbar] Use the ToBeDeprecated convention for to-be-deprecated APIs.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 318268154
  • Loading branch information
Jeff Verkoeyen authored and material-automation committed Jun 25, 2020
1 parent 4cc338a commit 55a51fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions components/Snackbar/src/MDCSnackbarManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -292,9 +292,7 @@
@protocol MDCSnackbarSuspensionToken <NSObject>
@end

#pragma mark - To be deprecated

@interface MDCSnackbarManager (LegacyAPI)
@interface MDCSnackbarManager (ToBeDeprecated)

/**
The @c alignment property of the @c defaultManager instance.
Expand Down
2 changes: 1 addition & 1 deletion components/Snackbar/src/MDCSnackbarManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -903,7 +903,7 @@ - (void)dealloc {

@end

@implementation MDCSnackbarManager (LegacyAPI)
@implementation MDCSnackbarManager (ToBeDeprecated)

+ (MDCSnackbarAlignment)alignment {
return MDCSnackbarManager.defaultManager.alignment;
Expand Down

0 comments on commit 55a51fa

Please sign in to comment.