Bark/View/DonateCell.swift
2024-11-13 16:20:15 +08:00

37 lines
909 B
Swift

//
// DonateCell.swift
// Bark
//
// Created by huangfeng on 11/13/24.
// Copyright © 2024 Fin. All rights reserved.
//
import UIKit
class DonateCell: UITableViewCell {
var title: String? = nil {
didSet {
self.textLabel?.text = title
}
}
var productId: String? = nil {
didSet {
self.detailTextLabel?.text = ""
}
}
override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) {
super.init(style: .value1, reuseIdentifier: reuseIdentifier)
self.selectionStyle = .none
self.accessoryType = .disclosureIndicator
self.backgroundColor = BKColor.background.secondary
self.detailTextLabel?.textColor = BKColor.grey.darken2
}
@available(*, unavailable)
required init?(coder aDecoder: NSCoder) {
fatalError("init(coder:) has not been implemented")
}
}