MixinRealmsClientAccessor

getOrCreate caches the instance it built from the session that happened to be active at the time, in final fields, and hands it out from then on. Nulling the instance is the only way to make it pick up the account we switched to.

Realms is not covered by Fabric intermediary, so its names are the same in development and production.

Functions

Link copied to clipboard
open fun setRealmsClientInstance(instance: RealmsClient)