Skip to content

Exclude notification type from title #1

@avently

Description

@avently

Hello. Thank you for this great library!
I'm just thinking, is it possible to exclude notification type from title? Because, for example, in NotificationCenter you have this line: https://github.com/sshtools/two-slices/blob/master/src/main/java/com/sshtools/twoslices/impl/NotificationCenterToaster.java#L893
which basically adds unneeded text before title. Would be great to have it configurable in builder like so:

boolean includeTypeInTitleIfUnsupportedByToaster;

I would pass false here to disable this feature for all toaster's implementations. So, if toaster implementation supports differentiation by type, it should still be used. But if not, the type should be in title.

What do you think about it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions