Skip to content

Split logic for showing the toast and installing a shortcut #15

@Lakritzator

Description

@Lakritzator

If I understand it correctly, the application which wants to show toasts only needs to install the shortcut once. So to prevent running code which is only needed once, at every time the application wants to show a toast, I would suggest splitting the logic into multiple steps (and classes).

This also would improve the readability of the code.

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