Skip to content
Permalink
Browse files

Replace comment with @available check

  • Loading branch information...
saagarjha committed Apr 2, 2019
1 parent 6f65389 commit 9c0b2a5736e9064adccb06175a64060ef2be8ef5
Showing with 1 addition and 1 deletion.
  1. +1 −1 iina/Utility.swift
@@ -431,7 +431,7 @@ class Utility {
}
}

// Do not use this function for macOS 10.14+
@available(macOS, deprecated: 10.14, message: "Use the system appearance-based APIs instead.")
static func getAppearanceAndMaterial(from theme: Preference.Theme) -> (NSAppearance?, NSVisualEffectView.Material) {
switch theme {
case .ultraDark:

0 comments on commit 9c0b2a5

Please sign in to comment.
You can’t perform that action at this time.