mirror of
https://github.com/tooot-app/app
synced 2025-04-16 11:17:29 +02:00
parent
560d11643b
commit
dd4234199b
@ -255,6 +255,7 @@ const ScreenCompose: React.FC<ScreenComposeProp> = ({
|
|||||||
}
|
}
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
removeDraft()
|
||||||
navigation.goBack()
|
navigation.goBack()
|
||||||
})
|
})
|
||||||
.catch(error => {
|
.catch(error => {
|
||||||
@ -301,8 +302,9 @@ const ScreenCompose: React.FC<ScreenComposeProp> = ({
|
|||||||
component={ComposeRoot}
|
component={ComposeRoot}
|
||||||
options={{
|
options={{
|
||||||
headerLeft,
|
headerLeft,
|
||||||
headerTitle: `${totalTextCount} / ${maxTootChars}${__DEV__ &&
|
headerTitle: `${totalTextCount} / ${maxTootChars}${
|
||||||
` Dirty: ${composeState.dirty.toString()}`}`,
|
__DEV__ ? ` Dirty: ${composeState.dirty.toString()}` : ''
|
||||||
|
}`,
|
||||||
headerTitleStyle: {
|
headerTitleStyle: {
|
||||||
fontWeight:
|
fontWeight:
|
||||||
totalTextCount > maxTootChars
|
totalTextCount > maxTootChars
|
||||||
|
Loading…
x
Reference in New Issue
Block a user