mirror of
https://github.com/inaturalist/iNaturalistReactNative.git
synced 2026-09-16 07:44:34 -04:00
* add User.roles to Realm * make some SwitchRow props optional * add testing featureflag * consider user admin and installer source in useFeatureFlag * add temporary testing UI to confirm functionality * useFeatureFlagForDebug needn't rely on useFeatureFlag * add roles: [] to LocalUser factory * fix UserProfile test * errant log * nest rozenite under RealmProvider, encapsulate testflightadmin for FF debug view
8 lines
169 B
JavaScript
8 lines
169 B
JavaScript
import { define } from "factoria";
|
|
|
|
export default define( "LocalUser", faker => ( {
|
|
id: faker.number.int( ),
|
|
login: faker.internet.userName( ),
|
|
roles: [],
|
|
} ) );
|