Hides Genesis skin credit for public versions

This commit is contained in:
Riley Testut 2021-03-10 14:33:57 -06:00
parent 8f7e7280f9
commit 931a16c544

View File

@ -412,6 +412,17 @@ extension SettingsViewController
}
}
override func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat
{
switch Section(rawValue: indexPath.section)!
{
#if !BETA
case .credits where indexPath.row == CreditsRow.litRitt.rawValue: return 0.0
#endif
default: return super.tableView(tableView, heightForRowAt: indexPath)
}
}
override func tableView(_ tableView: UITableView, titleForHeaderInSection section: Int) -> String?
{
let section = Section(rawValue: section)!