Remove todos (#540)
After discussion they will be taken care of when we rework the onboarding (spoiler)
This commit is contained in:
parent
bd35a01be2
commit
d86d613b4a
|
@ -48,7 +48,6 @@ extension PickServerSection {
|
||||||
extension PickServerSection {
|
extension PickServerSection {
|
||||||
|
|
||||||
static func configure(cell: PickServerCell, server: Mastodon.Entity.Server, attribute: PickServerItem.ServerItemAttribute) {
|
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.domainLabel.text = server.domain
|
||||||
cell.descriptionLabel.attributedText = {
|
cell.descriptionLabel.attributedText = {
|
||||||
let content: String = {
|
let content: String = {
|
||||||
|
|
|
@ -83,8 +83,6 @@ class PickServerCell: UITableViewCell {
|
||||||
return label
|
return label
|
||||||
}()
|
}()
|
||||||
|
|
||||||
//TODO: @zeitschlag New label for "Registrations closed"
|
|
||||||
|
|
||||||
private var collapseConstraints: [NSLayoutConstraint] = []
|
private var collapseConstraints: [NSLayoutConstraint] = []
|
||||||
private var expandConstraints: [NSLayoutConstraint] = []
|
private var expandConstraints: [NSLayoutConstraint] = []
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,6 @@ extension Mastodon.Entity {
|
||||||
public let approvalRequired: Bool
|
public let approvalRequired: Bool
|
||||||
public let language: String
|
public let language: String
|
||||||
public let category: 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 {
|
enum CodingKeys: String, CodingKey {
|
||||||
case domain
|
case domain
|
||||||
|
|
Loading…
Reference in New Issue