microsoft / FluentDarkModeKit

A library for backporting Dark Mode in iOS
MIT License
1.63k stars 125 forks source link

Rename themeDidChange() #33

Closed li-bei closed 4 years ago

li-bei commented 4 years ago

Since we don't have a concept called theme now, we should rename themeDidChange.

@interface DMTraitEnvironment <NSObject>

- (void)dm_traitCollectionDidChange:(DMTraitCollection *)previousTraitCollection;

- (void)dmTraitCollectionDidChange:(DMTraitCollection *)previousTraitCollection;

@end