metatext/Views/UIKit/Table View Cells/IdentityTableViewCell.swift

15 lines
405 B
Swift
Raw Normal View History

2021-01-28 23:15:22 +00:00
// Copyright © 2021 Metabolist. All rights reserved.
import UIKit
import ViewModels
final class IdentityTableViewCell: UITableViewCell {
var viewModel: IdentityViewModel?
override func updateConfiguration(using state: UICellConfigurationState) {
guard let viewModel = viewModel else { return }
contentConfiguration = IdentityContentConfiguration(viewModel: viewModel)
}
}