Remove todos (#540)

After discussion they will be taken care of when we rework the onboarding (spoiler)
This commit is contained in:
Nathan Mattes 2022-11-15 23:51:24 +01:00
parent bd35a01be2
commit d86d613b4a
3 changed files with 0 additions and 4 deletions

View File

@ -48,7 +48,6 @@ extension PickServerSection {
extension PickServerSection {
static func configure(cell: PickServerCell, server: Mastodon.Entity.Server, attribute: PickServerItem.ServerItemAttribute) {
//TODO: @zeitschlag configure cell if server doesn't allow registrations
cell.domainLabel.text = server.domain
cell.descriptionLabel.attributedText = {
let content: String = {

View File

@ -83,8 +83,6 @@ class PickServerCell: UITableViewCell {
return label
}()
//TODO: @zeitschlag New label for "Registrations closed"
private var collapseConstraints: [NSLayoutConstraint] = []
private var expandConstraints: [NSLayoutConstraint] = []

View File

@ -22,7 +22,6 @@ extension Mastodon.Entity {
public let approvalRequired: Bool
public let language: String
public let category: String
//TODO: @zeitschlag Is there a way to figure out in advance if a server accepts new registrations? Right now we'd have to query the server and it responds with a `AuthenticationViewModel.AuthenticationError.registrationClosed`
enum CodingKeys: String, CodingKey {
case domain