fix detection rebase change
This commit is contained in:
@@ -1195,7 +1195,9 @@ function ComposerTopBar({
|
|||||||
<View style={a.flex_1} />
|
<View style={a.flex_1} />
|
||||||
{isPublishing ? (
|
{isPublishing ? (
|
||||||
<>
|
<>
|
||||||
<Text style={[t.atoms.text_contrast_low]}>{publishingStage}</Text>
|
<Text style={[t.atoms.text_contrast_medium]}>
|
||||||
|
{publishingStage}
|
||||||
|
</Text>
|
||||||
<View style={styles.postBtn}>
|
<View style={styles.postBtn}>
|
||||||
<ActivityIndicator />
|
<ActivityIndicator />
|
||||||
</View>
|
</View>
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ import {View} from 'react-native'
|
|||||||
import {msg, Trans} from '@lingui/macro'
|
import {msg, Trans} from '@lingui/macro'
|
||||||
import {useLingui} from '@lingui/react'
|
import {useLingui} from '@lingui/react'
|
||||||
|
|
||||||
import {isNative} from '#/platform/detection'
|
|
||||||
import {EmptyState} from '#/view/com/util/EmptyState'
|
import {EmptyState} from '#/view/com/util/EmptyState'
|
||||||
import {atoms as a, useTheme, web} from '#/alf'
|
import {atoms as a, useTheme, web} from '#/alf'
|
||||||
import {Button, ButtonText} from '#/components/Button'
|
import {Button, ButtonText} from '#/components/Button'
|
||||||
@@ -11,6 +10,7 @@ import * as Dialog from '#/components/Dialog'
|
|||||||
import {PageX_Stroke2_Corner0_Rounded_Large as PageXIcon} from '#/components/icons/PageX'
|
import {PageX_Stroke2_Corner0_Rounded_Large as PageXIcon} from '#/components/icons/PageX'
|
||||||
import {ListFooter} from '#/components/Lists'
|
import {ListFooter} from '#/components/Lists'
|
||||||
import {Loader} from '#/components/Loader'
|
import {Loader} from '#/components/Loader'
|
||||||
|
import {IS_NATIVE} from '#/env'
|
||||||
import {DraftItem} from './DraftItem'
|
import {DraftItem} from './DraftItem'
|
||||||
import {useDeleteDraftMutation, useDraftsQuery} from './state/queries'
|
import {useDeleteDraftMutation, useDraftsQuery} from './state/queries'
|
||||||
import {type DraftSummary} from './state/schema'
|
import {type DraftSummary} from './state/schema'
|
||||||
@@ -128,7 +128,7 @@ export function DraftsListDialog({
|
|||||||
return (
|
return (
|
||||||
<Dialog.Outer control={control}>
|
<Dialog.Outer control={control}>
|
||||||
{/* We really really need to figure out a nice, consistent API for doing a header cross-platform -sfn */}
|
{/* We really really need to figure out a nice, consistent API for doing a header cross-platform -sfn */}
|
||||||
{isNative && header}
|
{IS_NATIVE && header}
|
||||||
<Dialog.InnerFlatList
|
<Dialog.InnerFlatList
|
||||||
data={drafts}
|
data={drafts}
|
||||||
renderItem={renderItem}
|
renderItem={renderItem}
|
||||||
|
|||||||
Reference in New Issue
Block a user