Created
April 5, 2023 14:57
-
-
Save Blackjacx/8f21d8d936de6808af7a9d1b94a5460c to your computer and use it in GitHub Desktop.
Revisions
-
Blackjacx created this gist
Apr 5, 2023 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ extension GMSMapView { override open func traitCollectionDidChange(_ previousTraitCollection: UITraitCollection?) { super.traitCollectionDidChange(previousTraitCollection) guard traitCollection.hasDifferentColorAppearance(comparedTo: previousTraitCollection) else { return } updateMapStyle() } }