Removed obsolete code.

This commit is contained in:
Aaron
2021-01-27 11:08:34 -05:00
parent 91e58ab328
commit 5378764e37
+2 -13
View File
@@ -205,23 +205,12 @@ class WVMDataSource: UIPickerView, UIPickerViewDelegate, UIPickerViewDataSource
func pickerView(_ v: UIPickerView, numberOfRowsInComponent: Int) -> Int func pickerView(_ v: UIPickerView, numberOfRowsInComponent: Int) -> Int
{ {
if v.tag == 2{ return wvms.count
return ringtones.count
}
else {
return wvms.count
}
} }
func pickerView(_ v: UIPickerView, titleForRow r: Int, forComponent: Int) -> String? func pickerView(_ v: UIPickerView, titleForRow r: Int, forComponent: Int) -> String?
{ {
if v.tag == 2{ return wvms[r].name + " - " + wvms[r].desc
print(v.tag)
return ringtones[r].name
}
else {
return wvms[r].name + " - " + wvms[r].desc
}
} }
} }