mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 08:32:53 +02:00
Fix review remarks
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user