Describe the bug
When enabling the Lock feature introduced with Anytype Android 0.6.0, toggle blocks can no longer be interacted with - they can’t be opened or collapsed.
Update: Content in Code Blocks also can’t be selected (and copied) when the page is in lock mode on Android.
To Reproduce
- Open an Object Canvas with a Toggle block.
- Enable read-only mode via the meatball menu › Lock
- Attempt to open or close the toggle block. The app should present a toast message stating “This object is locked”, despite the action being taken (opening the toggle block) not directly causing modification to the object.
Expected behavior
I’d have expected the Toggle Block to work despite read-only mode being enabled, as it is not an action that causes modification to the object canvas.
System Information:
- OS: Android 12, One UI 4
- Device Manufacturer/Model: Note 20 Ultra - SM-N986N
- Anytype Version: 0.6.0
Additional Information