[create-pull-request] automated change

This commit is contained in:
acvigue 2021-07-27 01:47:11 +00:00 committed by GitHub
parent 4b92fafbfa
commit 95977c1053
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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: