mirror of
https://github.com/linagora/tmail-flutter.git
synced 2026-12-05 16:08:46 +00:00
pdfrx supports a PasswordProvider but TwakePdfPreviewer does not expose it, so encrypted PDFs failed with "No password supplied by PasswordProvider". Render the PDF through a password-aware previewer that reuses the upstream building blocks, prompt for the password with retry and a localized error on wrong password, and show a localized message (download stays available) when the prompt is cancelled. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>