mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Revert iOS changes
This commit is contained in:
parent
4f1c9b9ae2
commit
dd09ef184a
2 changed files with 2 additions and 1 deletions
|
|
@ -101,7 +101,7 @@ public extension Color {
|
|||
|
||||
static var isDarkMode: Bool {
|
||||
#if os(iOS)
|
||||
ThemeManager.currentTheme.isDark || UITraitCollection.current.userInterfaceStyle == .dark
|
||||
UITraitCollection.current.userInterfaceStyle == .dark
|
||||
#else
|
||||
NSApp.effectiveAppearance.name == NSAppearance.Name.darkAqua
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
import Foundation
|
||||
import SwiftUI
|
||||
import Utils
|
||||
|
||||
public enum Theme: String, CaseIterable {
|
||||
case system = "System"
|
||||
|
|
|
|||
Loading…
Reference in a new issue