mirror of
https://github.com/zhigang1992/ProMotion.git
synced 2026-06-01 19:49:13 +08:00
Merge branch 'version-0.6'
This commit is contained in:
@@ -178,7 +178,7 @@ module ProMotion::MotionTable
|
||||
table_cell.accessoryView = switch_view
|
||||
end
|
||||
|
||||
if data_cell[:subtitle]
|
||||
if data_cell[:subtitle] and table_cell.detailTextLabel
|
||||
table_cell.detailTextLabel.text = data_cell[:subtitle]
|
||||
table_cell.detailTextLabel.autoresizingMask = UIViewAutoresizingFlexibleWidth
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user