matrix-ios-kit icon indicating copy to clipboard operation
matrix-ios-kit copied to clipboard

Don't query pasteboard contents until paste:

Open Adlai-Holler opened this issue 4 years ago • 2 comments

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 avatar Jan 24 '21 13:01 Adlai-Holler

@manuroe Could I get a review of this please?

Adlai-Holler avatar Jan 28 '21 21:01 Adlai-Holler

@manuroe Updated with signoff & changelog.

Adlai-Holler avatar Feb 05 '21 22:02 Adlai-Holler