Skip to content

Why disallow background color for custom views? #410

@nathansalaun-sofia

Description

@nathansalaun-sofia

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions