Closed turk-jk closed 4 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed due to inactivity.
when init the FloatingNotificationBanner without title
let banner = FloatingNotificationBanner(title: nil, subtitle: text, titleFont: nil, titleColor: .lightGray, titleTextAlign: .left, subtitleFont: nil, subtitleColor: .black, subtitleTextAlign: .left, leftView: imageView, rightView: nil, style: .info, colors: bannerColors(), iconPosition: .top)
the app crash, and that's because
titleLabel
get initialised only iftitle
parameter was suppliedthe same crash will happen when
applyStyling
for aNotificationBanner
or aGrowingNotificationBanner