mirror of
https://github.com/zhigang1992/ProMotion.git
synced 2026-06-02 06:49:45 +08:00
Merge branch 'version-0.7' into feature/delegate_improvements
This commit is contained in:
@@ -59,6 +59,7 @@ module ProMotion
|
||||
def set_subtitle
|
||||
if data_cell[:subtitle] && self.detailTextLabel
|
||||
self.detailTextLabel.text = data_cell[:subtitle]
|
||||
self.detailTextLabel.backgroundColor = UIColor.clearColor
|
||||
self.detailTextLabel.autoresizingMask = UIViewAutoresizingFlexibleWidth
|
||||
end
|
||||
self
|
||||
@@ -137,6 +138,7 @@ module ProMotion
|
||||
else
|
||||
cell_title = data_cell[:title]
|
||||
cell_title ||= ""
|
||||
self.textLabel.backgroundColor = UIColor.clearColor
|
||||
self.textLabel.text = cell_title
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user