Fix review remarks

This commit is contained in:
ismailgulek
2022-02-03 14:25:14 +03:00
parent 27e43c08ce
commit 2a95516545
3 changed files with 16 additions and 4 deletions
@@ -19,7 +19,17 @@ import UIKit
/// Dot view for a thread notification status
class ThreadNotificationStatusView: UIView {
private var theme: Theme = ThemeService.shared().theme
private var theme: Theme
init(withTheme theme: Theme) {
self.theme = theme
super.init(frame: .zero)
}
required init?(coder: NSCoder) {
theme = ThemeService.shared().theme
super.init(coder: coder)
}
/// Current status. Update this property to change background color accordingly.
var status: ThreadNotificationStatus = .none {