Open nathansalaun-sofia opened 1 year ago
This line https://github.com/Daltron/NotificationBanner/blob/master/NotificationBanner/Classes/BaseNotificationBanner.swift#L194 prevents setting a background color when there is a custom view.
Is there any reason why this is necessary? Or is it just an artificial limitation?
When I remove the guard, the background color still seems to work fine.
guard
I see a fix was proposed, but not accepted. https://github.com/Daltron/NotificationBanner/pull/341
This line https://github.com/Daltron/NotificationBanner/blob/master/NotificationBanner/Classes/BaseNotificationBanner.swift#L194 prevents setting a background color when there is a custom view.
Is there any reason why this is necessary? Or is it just an artificial limitation?
When I remove the
guard
, the background color still seems to work fine.