element-ios/Riot/Categories/MXKTableViewCellWithTextView.swift
2024-09-25 12:24:52 +02:00

22 lines
537 B
Swift

//
// Copyright 2020-2024 New Vector Ltd.
//
// SPDX-License-Identifier: AGPL-3.0-only
// Please see LICENSE in the repository root for full details.
//
import Foundation
import Reusable
extension MXKTableViewCellWithTextView: Reusable {}
extension MXKTableViewCellWithTextView: Themable {
func update(theme: Theme) {
mxkTextView.backgroundColor = .clear
mxkTextView.textColor = theme.textPrimaryColor
backgroundColor = theme.backgroundColor
contentView.backgroundColor = .clear
}
}