lib/ProMotion/table/table_class_methods.rb in ProMotion-2.4.0 vs lib/ProMotion/table/table_class_methods.rb in ProMotion-2.4.1
- old
+ new
@@ -5,10 +5,10 @@
def row_height(height, args={})
if height == :auto
if UIDevice.currentDevice.systemVersion.to_f < 8.0
height = args[:estimated] || 44.0
- PM.logger.warn "Using `row_height :auto` is not supported in iOS 7 apps. Setting to #{height}."
+ mp "Using `row_height :auto` is not supported in iOS 7 apps. Setting to #{height}.", force_color: :yellow
else
height = UITableViewAutomaticDimension
end
end
args[:estimated] ||= height unless height == UITableViewAutomaticDimension