mirror of
https://github.com/whoeevee/EeveeSpotifyReborn.git
synced 2026-01-09 00:23:20 +01:00
petitlyrics
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import Foundation
|
||||
|
||||
extension Locale {
|
||||
static func isInRegion(_ regionCode: String, orHasLanguage languageCode: String) -> Bool {
|
||||
self.current.regionCode == regionCode || self.preferredLanguages.contains(languageCode)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user