mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
15 lines
239 B
Swift
15 lines
239 B
Swift
|
|
public enum AppMode {
|
|
case light, dark
|
|
|
|
public static var current: AppMode = .light
|
|
}
|
|
|
|
public var isLightMode: Bool {
|
|
return AppMode.current == .light
|
|
}
|
|
|
|
public var isDarkMode: Bool {
|
|
return AppMode.current == .dark
|
|
}
|