Fix build and naming of State -> ViewData

This commit is contained in:
langleyd
2021-07-05 16:28:14 +01:00
parent dcc12d36e5
commit 526a7500df
4 changed files with 28 additions and 11 deletions
@@ -18,12 +18,7 @@ import Reusable
class RoomNotificationSettingsCell: UITableViewCell {
struct State {
let notificicationState: RoomNotificationState
let selected: Bool
}
func update(state: State) {
func update(state: RoomNotificationSettingsCellViewData) {
textLabel?.font = .systemFont(ofSize: 17)
detailTextLabel?.font = .systemFont(ofSize: 16)
textLabel?.text = state.notificicationState.title