GrapheneOS / Camera

Modern camera app focused on privacy and security with QR & barcode scanning.
https://grapheneos.org/
MIT License
842 stars 85 forks source link

do not proceed with drawing grids if mActivity is not initialised #320

Closed octocorvus closed 1 year ago

octocorvus commented 1 year ago

This fixes 'lateinit property mActivity has not been initialized' render error in android studio layout editor; this causes views to not render in the layout editor, thus making editing layout harder. On a real device mActivity should always be initialised.

octocorvus commented 1 year ago

not required anymore, since layout editor in Android Studio "2022.1.1 Patch 2" and later versions works fine without this