|
@@ -141,7 +141,7 @@ class PQSpeedSettingView: UIView {
|
|
|
|
|
|
if viewType == 3{
|
|
|
if(index > 4 && datas.count < 7 && enableInsert){
|
|
|
- if(index >= datas.count){
|
|
|
+ if(index >= datas.count - 1){
|
|
|
let model = PQSpeedTitleModel()
|
|
|
model.title = "\(index + 1)x"
|
|
|
model.maxSpeed = Float(index + 1)
|