Compare commits
2 Commits
1c9b1b9ac3
...
e581f384e4
Author | SHA1 | Date |
---|---|---|
Shadowfacts | e581f384e4 | |
Shadowfacts | c42a48ee12 |
|
@ -47,7 +47,7 @@ public final class Account: AccountProtocol, Decodable {
|
||||||
self.avatar = try container.decode(URL.self, forKey: .avatar)
|
self.avatar = try container.decode(URL.self, forKey: .avatar)
|
||||||
self.avatarStatic = try container.decode(URL.self, forKey: .avatarStatic)
|
self.avatarStatic = try container.decode(URL.self, forKey: .avatarStatic)
|
||||||
self.header = try container.decode(URL.self, forKey: .header)
|
self.header = try container.decode(URL.self, forKey: .header)
|
||||||
self.headerStatic = try container.decode(URL.self, forKey: .url)
|
self.headerStatic = try container.decode(URL.self, forKey: .headerStatic)
|
||||||
self.emojis = try container.decode([Emoji].self, forKey: .emojis)
|
self.emojis = try container.decode([Emoji].self, forKey: .emojis)
|
||||||
self.fields = (try? container.decode([Field].self, forKey: .fields)) ?? []
|
self.fields = (try? container.decode([Field].self, forKey: .fields)) ?? []
|
||||||
self.bot = try? container.decode(Bool.self, forKey: .bot)
|
self.bot = try? container.decode(Bool.self, forKey: .bot)
|
||||||
|
|
|
@ -32,7 +32,8 @@ class AccountListTableViewController: EnhancedTableViewController {
|
||||||
|
|
||||||
tableView.register(UINib(nibName: "AccountTableViewCell", bundle: .main), forCellReuseIdentifier: accountCell)
|
tableView.register(UINib(nibName: "AccountTableViewCell", bundle: .main), forCellReuseIdentifier: accountCell)
|
||||||
|
|
||||||
tableView.rowHeight = 66
|
tableView.rowHeight = UITableView.automaticDimension
|
||||||
|
tableView.estimatedRowHeight = 66
|
||||||
|
|
||||||
tableView.alwaysBounceVertical = true
|
tableView.alwaysBounceVertical = true
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue