mirror of
https://github.com/inaturalist/iNaturalistReactNative.git
synced 2026-05-08 07:36:48 -04:00
* Show observations by defaulting to user location * Remove log * Create useHeaderCount hook to load user location count before global count * Header count and location permission fixes * Remove log * Fix Explore tests * Test fixes and add blocked/denied state
14 lines
305 B
JavaScript
14 lines
305 B
JavaScript
import { Realm } from "@realm/react";
|
|
|
|
class LocalPreferences extends Realm.Object {
|
|
static schema = {
|
|
name: "LocalPreferences",
|
|
properties: {
|
|
last_sync_time: "date?",
|
|
explore_location_permission_shown: { type: "bool", default: false }
|
|
}
|
|
};
|
|
}
|
|
|
|
export default LocalPreferences;
|