From 2ced080a1df9d5cfca2f154ced2df360aa09b1bd Mon Sep 17 00:00:00 2001 From: Roman Chopovenko Date: Wed, 29 Aug 2018 15:16:07 +0300 Subject: [PATCH] Wave color change --- .../Views/TableView/Cells/Views/Message/MessageVoiceView.swift | 2 +- Nynja/Resources/Constants.swift | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Nynja/Modules/Message/View/Views/TableView/Cells/Views/Message/MessageVoiceView.swift b/Nynja/Modules/Message/View/Views/TableView/Cells/Views/Message/MessageVoiceView.swift index d32e342eb..5e70fc0df 100644 --- a/Nynja/Modules/Message/View/Views/TableView/Cells/Views/Message/MessageVoiceView.swift +++ b/Nynja/Modules/Message/View/Views/TableView/Cells/Views/Message/MessageVoiceView.swift @@ -69,7 +69,7 @@ class MessageVoiceView: MessageContentView { let view = DrawableAudioWaveform() view.delegate = self view.backgroundColor = UIColor.clear - view.mainColor = Constants.colors.darkLight.getColor() + view.mainColor = Constants.colors.trolleyGray.getColor() self.addSubview(view) view.snp.makeConstraints { make in diff --git a/Nynja/Resources/Constants.swift b/Nynja/Resources/Constants.swift index ac99991df..15b1c1a7c 100644 --- a/Nynja/Resources/Constants.swift +++ b/Nynja/Resources/Constants.swift @@ -68,6 +68,7 @@ struct Constants { static let selfTextColor = Color(hex: "#212226") static let darkWithAlpha = Color(hex: "#2f353b", alpha: 0.8) static let middleGray = Color(hex: "#cccccc") + static let trolleyGray = Color(hex: "#7d7d7d") static let blackWithoutOpacity = Color(hex: "#000000", alpha: 0) static let blackWithOpacity = Color(hex: "#000000", alpha: 0.6) static let callGradientStart = Color(hex: "#2c2e33", alpha: 1) -- GitLab