Skip to content
This repository has been archived by the owner on Dec 12, 2022. It is now read-only.

Don't query pasteboard contents until paste: #766

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

Adlai-Holler
Copy link
Contributor

@Adlai-Holler Adlai-Holler commented Jan 24, 2021

Currently canPerformAction: causes a read of the pasteboard, which is annoying on iOS 14. The system alerts the user "Pasted from [x]" every time the menu is queried.

Instead we can check the types without querying the contents.

Signed-off-by: Adlai Holler [email protected]

@Adlai-Holler
Copy link
Contributor Author

@manuroe Could I get a review of this please?

@Adlai-Holler
Copy link
Contributor Author

@manuroe Updated with signoff & changelog.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant