Describe the bug
So it turns out that note pages of pdfs include the text tool, but still report as being "fileType: PDF", meaning my tool has no way of knowing wether the currently open page of a pdf document is a pdf and has the text tool, or is a note page and does not.
To Reproduce
Steps to reproduce the behavior:
- open PDF
- add note page
- try actions, observe unexpected behavior
Expected behavior
Actions should behave as expected.
reMarkable Info (please complete the following information):
- reMarkable Version (eg. 1 or 2): 2
- OS version (In Settings > General > Software): 3.x.x.x
- Branch (eg. v1, v2, v2-3.0.0-fix): v2-3.0.0-fix
- Document Type (eg. PDF, Notebook): PDF
- Document Orientation: (eg. RH or LH, Portrait or Landscape): RHP
Please include your config file (for example, by running cat /home/root/.config/LamyEraser/LamyEraser.conf) here:
N/A
Additional context
N/A
Describe the bug
So it turns out that note pages of pdfs include the text tool, but still report as being "fileType: PDF", meaning my tool has no way of knowing wether the currently open page of a pdf document is a pdf and has the text tool, or is a note page and does not.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Actions should behave as expected.
reMarkable Info (please complete the following information):
Please include your config file (for example, by running
cat /home/root/.config/LamyEraser/LamyEraser.conf) here:N/A
Additional context
N/A