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