add vertical option to prompt, change copy
This commit is contained in:
@@ -886,8 +886,12 @@ export const ComposePost = ({
|
|||||||
{!IS_WEBFooterSticky && footer}
|
{!IS_WEBFooterSticky && footer}
|
||||||
</View>
|
</View>
|
||||||
|
|
||||||
<Prompt.Outer control={discardPromptControl}>
|
<Prompt.Outer
|
||||||
<Prompt.TitleText>{_(msg`Discard draft?`)}</Prompt.TitleText>
|
control={discardPromptControl}
|
||||||
|
webOptions={{vertical: true}}>
|
||||||
|
<Prompt.TitleText>
|
||||||
|
<Trans>Save draft?</Trans>{' '}
|
||||||
|
</Prompt.TitleText>
|
||||||
<Prompt.DescriptionText>
|
<Prompt.DescriptionText>
|
||||||
{_(msg`You can save this draft to continue later.`)}
|
{_(msg`You can save this draft to continue later.`)}
|
||||||
</Prompt.DescriptionText>
|
</Prompt.DescriptionText>
|
||||||
@@ -900,7 +904,7 @@ export const ComposePost = ({
|
|||||||
<Prompt.Action
|
<Prompt.Action
|
||||||
cta={_(msg`Discard`)}
|
cta={_(msg`Discard`)}
|
||||||
onPress={onClose}
|
onPress={onClose}
|
||||||
color="negative"
|
color="negative_subtle"
|
||||||
/>
|
/>
|
||||||
<Prompt.Cancel />
|
<Prompt.Cancel />
|
||||||
</Prompt.Actions>
|
</Prompt.Actions>
|
||||||
|
|||||||
@@ -67,7 +67,7 @@ export function DraftsButton({
|
|||||||
onSelectDraft={onSelectDraft}
|
onSelectDraft={onSelectDraft}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<Prompt.Outer control={savePromptControl}>
|
<Prompt.Outer control={savePromptControl} webOptions={{vertical: true}}>
|
||||||
<Prompt.TitleText>
|
<Prompt.TitleText>
|
||||||
<Trans>Save current draft?</Trans>
|
<Trans>Save current draft?</Trans>
|
||||||
</Prompt.TitleText>
|
</Prompt.TitleText>
|
||||||
@@ -86,7 +86,7 @@ export function DraftsButton({
|
|||||||
<Prompt.Action
|
<Prompt.Action
|
||||||
cta={_(msg`Discard`)}
|
cta={_(msg`Discard`)}
|
||||||
onPress={handleDiscardAndOpen}
|
onPress={handleDiscardAndOpen}
|
||||||
color="negative"
|
color="negative_subtle"
|
||||||
/>
|
/>
|
||||||
<Prompt.Cancel />
|
<Prompt.Cancel />
|
||||||
</Prompt.Actions>
|
</Prompt.Actions>
|
||||||
|
|||||||
Reference in New Issue
Block a user