[create-pull-request] automated change
This commit is contained in:
parent
4b92fafbfa
commit
95977c1053
|
@ -230,7 +230,7 @@ struct JellyfinPlayerApp: App {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private func setupAppearance() {
|
||||
guard let storedAppearance = AppAppearance(rawValue: appAppearance) else { return }
|
||||
UIApplication.shared.windows.first?.overrideUserInterfaceStyle = storedAppearance.style
|
||||
|
|
|
@ -35,11 +35,11 @@ enum AppAppearance: String, CaseIterable {
|
|||
case system
|
||||
case dark
|
||||
case light
|
||||
|
||||
|
||||
var localizedName: String {
|
||||
return NSLocalizedString(self.rawValue.capitalized, comment: "")
|
||||
}
|
||||
|
||||
|
||||
var style: UIUserInterfaceStyle {
|
||||
switch self {
|
||||
case .system:
|
||||
|
|
Loading…
Reference in New Issue