switch cond {
- case .normal: return .clear
+ case .normal: return ColorSetManager.current[.airPlanInforViewNormal]
- case .tired: return #colorLiteral(red: 1, green: 0.7233425379, blue: 0.1258574128, alpha: 0.8239436619)
+ case .tired: return ColorSetManager.current[.airPlanInforViewTired]
- case .bad: return #colorLiteral(red: 0.7320367694, green: 0.07731548697, blue: 0.06799335033, alpha: 1)
+ case .bad: return ColorSetManager.current[.airPlanInforViewBad]
}
}
switch cond {
- case .normal: return .clear
+ case .normal: return ColorSetManager.current[.airPlanInforViewBoarderNormal]
- case .tired: return #colorLiteral(red: 0.458858192, green: 0.3335277438, blue: 0.07979661971, alpha: 1)
+ case .tired: return ColorSetManager.current[.airPlanInforViewBoarderTired]
- case .bad: return #colorLiteral(red: 0.5462518334, green: 0.04599834234, blue: 0.04913448542, alpha: 1)
+ case .bad: return ColorSetManager.current[.airPlanInforViewBoarderBad]
}
}