Skip to content

Commit

Permalink
๐ŸŽจ :: ์ฝ”๋“œ Formatting ์ ์šฉ
Browse files Browse the repository at this point in the history
  • Loading branch information
baekteun committed Dec 8, 2024
1 parent 99d666f commit 1e03c1a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@ import RxRelay
import RxSwift
import Utility

@available(*, deprecated, renamed: "FAQContentViewModel", message: "QnaContentViewModel is deprecated, use FAQContentViewModel instead.")
@available(
*,
deprecated,
renamed: "FAQContentViewModel",
message: "QnaContentViewModel is deprecated, use FAQContentViewModel instead."
)
typealias QnaContentViewModel = FAQContentViewModel

public final class FAQContentViewModel: ViewModelType {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@ import DesignSystem
import FaqDomainInterface
import UIKit

@available(*, deprecated, renamed: "FAQTableViewCell", message: "QuestionTableViewCell is deprecated, use FAQTableViewCell instead.")
@available(
*,
deprecated,
renamed: "FAQTableViewCell",
message: "QuestionTableViewCell is deprecated, use FAQTableViewCell instead."
)
typealias QuestionTableViewCell = FAQTableViewCell

class FAQTableViewCell: UITableViewCell {
Expand Down Expand Up @@ -30,8 +35,8 @@ class FAQTableViewCell: UITableViewCell {
}
}

extension QuestionTableViewCell {
public func update(model: FaqEntity) {
public extension QuestionTableViewCell {
func update(model: FaqEntity) {
categoryLabel.text = model.category
titleLabel.text = model.question
expandImageView.image = model.isOpen ? DesignSystemAsset.Navigation.fold.image : DesignSystemAsset.Navigation
Expand Down

0 comments on commit 1e03c1a

Please sign in to comment.