Moved injecting code for Realm
global to a separate file
#5852
+58
−310
Realm
global to a separate file
#5852