mirror of
https://github.com/Finb/Bark.git
synced 2025-12-08 21:36:01 +00:00
修复重复显示的提示文本。
This commit is contained in:
parent
cf32d33d3e
commit
60fce59253
@ -102,6 +102,9 @@ extension SoundsViewController: UITableViewDelegate {
|
||||
}
|
||||
|
||||
func tableView(_ tableView: UITableView, heightForFooterInSection section: Int) -> CGFloat {
|
||||
guard section == 0 else {
|
||||
return 0
|
||||
}
|
||||
return NSLocalizedString("uploadSoundNoticeFullText").count <= 30 ? 50 : 60
|
||||
}
|
||||
|
||||
@ -124,6 +127,9 @@ extension SoundsViewController: UITableViewDelegate {
|
||||
}
|
||||
|
||||
func tableView(_ tableView: UITableView, viewForFooterInSection section: Int) -> UIView? {
|
||||
guard section == 0 else {
|
||||
return nil
|
||||
}
|
||||
let view = UIView()
|
||||
|
||||
let fullText = NSLocalizedString("uploadSoundNoticeFullText")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user