Commit ced9f2e8 authored by pete谢兆麟's avatar pete谢兆麟

提醒更换

parent 1cd63921
...@@ -222,7 +222,11 @@ extension YHFileRenameInputView: UITextFieldDelegate { ...@@ -222,7 +222,11 @@ extension YHFileRenameInputView: UITextFieldDelegate {
let newText = (textField.text! as NSString).replacingCharacters(in: range, with: string) let newText = (textField.text! as NSString).replacingCharacters(in: range, with: string)
if newText.count > self.maxWordsCount { if newText.count > self.maxWordsCount {
YHHUD.flash(message: "重命名限制最多\(maxWordsCount)个字符") if maxWordsCount == 30 {
YHHUD.flash(message: "重命名限制最多\(maxWordsCount)个字符")
} else {
YHHUD.flash(message: "自定义标签限制最多\(maxWordsCount)个字符")
}
return false return false
} }
return true return true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment