Skip to content

UIUserNotificationSettings does not merge types properly #46

@pronebird

Description

@pronebird

I found that this simply does not work:

UIUserNotificationType mergedTypes = settings.types & self.types;

I think bitwise OR was meant instead:

UIUserNotificationType mergedTypes = (settings.types | self.types);

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