diff options
Diffstat (limited to 'src/screens/Profile/Sections/Labels.tsx')
-rw-r--r-- | src/screens/Profile/Sections/Labels.tsx | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/src/screens/Profile/Sections/Labels.tsx b/src/screens/Profile/Sections/Labels.tsx index 2b2b99594..5ba8f00a5 100644 --- a/src/screens/Profile/Sections/Labels.tsx +++ b/src/screens/Profile/Sections/Labels.tsx @@ -1,30 +1,29 @@ import React from 'react' import {View} from 'react-native' +import {useSafeAreaFrame} from 'react-native-safe-area-context' import { AppBskyLabelerDefs, - ModerationOpts, - interpretLabelValueDefinitions, InterpretedLabelValueDefinition, + interpretLabelValueDefinitions, + ModerationOpts, } from '@atproto/api' -import {Trans, msg} from '@lingui/macro' +import {msg, Trans} from '@lingui/macro' import {useLingui} from '@lingui/react' -import {useSafeAreaFrame} from 'react-native-safe-area-context' -import {useScrollHandlers} from '#/lib/ScrollContext' import {useAnimatedScrollHandler} from '#/lib/hooks/useAnimatedScrollHandler_FIXED' import {isLabelerSubscribed, lookupLabelValueDefinition} from '#/lib/moderation' -import {ListRef} from '#/view/com/util/List' -import {SectionRef} from './types' +import {useScrollHandlers} from '#/lib/ScrollContext' import {isNative} from '#/platform/detection' - -import {useTheme, atoms as a} from '#/alf' -import {Text} from '#/components/Typography' -import {Loader} from '#/components/Loader' -import {Divider} from '#/components/Divider' +import {ListRef} from '#/view/com/util/List' import {CenteredView, ScrollView} from '#/view/com/util/Views' -import {ErrorState} from '../ErrorState' -import {LabelerLabelPreference} from '#/components/moderation/LabelPreference' +import {atoms as a, useTheme} from '#/alf' +import {Divider} from '#/components/Divider' import {CircleInfo_Stroke2_Corner0_Rounded as CircleInfo} from '#/components/icons/CircleInfo' +import {Loader} from '#/components/Loader' +import {LabelerLabelPreference} from '#/components/moderation/LabelPreference' +import {Text} from '#/components/Typography' +import {ErrorState} from '../ErrorState' +import {SectionRef} from './types' interface LabelsSectionProps { isLabelerLoading: boolean |