Skip to content

Commit

Permalink
Merge branch 'fix/reader-minor-issues' into issue/21761-reader-improv…
Browse files Browse the repository at this point in the history
…ements-remote-flag
  • Loading branch information
wargcm committed Oct 14, 2023
2 parents 22e9a49 + d23d341 commit 58e56b8
Showing 1 changed file with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,11 @@ final class ReaderTableConfiguration {
}

private func setUpCardCell(_ tableView: UITableView) {
if RemoteFeatureFlag.readerImprovements.enabled() {
tableView.register(ReaderPostCardCell.self, forCellReuseIdentifier: readerCardCellReuseIdentifier)
} else {
let nib = UINib(nibName: readerCardCellNibName, bundle: nil)
tableView.register(nib, forCellReuseIdentifier: oldReaderCardCellReuseIdentifier)
}
tableView.register(ReaderPostCardCell.self, forCellReuseIdentifier: readerCardCellReuseIdentifier)

// TODO: Delete when we remove the Reader Improvements v1 (`readerImprovements`) feature flag
let nib = UINib(nibName: readerCardCellNibName, bundle: nil)
tableView.register(nib, forCellReuseIdentifier: oldReaderCardCellReuseIdentifier)
}

private func setUpBlockerCell(_ tableView: UITableView) {
Expand Down

0 comments on commit 58e56b8

Please sign in to comment.