mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 16:42:44 +02:00
Fix build and naming of State -> ViewData
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user