Bug: app crashes on loading cryptokeys in the UI
Steps to replicate:
- open application from fresh database
- open navigation and click on cryptokeys
- crash
libc++abi.dylib: terminating with uncaught exception of type NSException
*** Terminating app due to uncaught exception 'RLMException', reason: 'Can only add, remove, or create objects in a Realm in a write transaction - call beginWriteTransaction on an RLMRealm instance first.'
terminating with uncaught exception of type NSException
CoreSimulator 732.17 - Device: iPhone 11 Pro Max (9B055868-82B1-4C30-BF9E-6E7ABE4B7B0A) - Runtime: iOS 14.1 (18A8394) - DeviceType: iPhone 11 Pro Max