Remove redundant nil coalescing
This commit is contained in:
parent
7e04dd3d31
commit
675df849e3
|
@ -86,7 +86,7 @@ extension SettingsToggleTableViewCell {
|
|||
return nil
|
||||
default:
|
||||
// set tint black for Light Mode
|
||||
return self.contentView.window?.tintColor ?? nil
|
||||
return self.contentView.window?.tintColor
|
||||
}
|
||||
}()
|
||||
}
|
||||
|
|
|
@ -468,7 +468,7 @@ extension StatusView.ViewModel {
|
|||
pollCountdownDescription
|
||||
)
|
||||
.sink { pollVoteDescription, pollCountdownDescription in
|
||||
statusView.pollVoteCountLabel.text = pollVoteDescription ?? "-"
|
||||
statusView.pollVoteCountLabel.text = pollVoteDescription
|
||||
statusView.pollCountdownLabel.text = pollCountdownDescription ?? "-"
|
||||
}
|
||||
.store(in: &disposeBag)
|
||||
|
|
Loading…
Reference in New Issue