feat(mobile/navigation) updated screens that have footer

* feat(mobile/navigation) updated screens that have footer

* feat(chat/native) reverted style change

* feat(chat/native) reverted changes and added input vertical padding

* feat(base/modal) replaced headerHeight with top safe area inset

* feat(carmode/native) removed unused import and fixed linter

* feat(chat/polls/native) reverted style changes

* feat(base/modal) added isModalPresentation default prop

* feat(base/modal) made isModalPresentation optional

* feat(base/modal) headerHeight based on top notch devices

* feat(polls) updated styles

* feat(base/modal) updated comment
This commit is contained in:
Calinteodor
2022-06-16 12:49:53 +03:00
committed by GitHub
parent dbf7bf4750
commit fbf693b2dc
7 changed files with 38 additions and 20 deletions

View File

@@ -169,7 +169,6 @@ const PollCreate = (props: AbstractProps) => {
style = { chatStyles.pollCreateButton } >
{t('polls.create.cancel')}
</Button>
<Button
color = { BaseTheme.palette.screen01Header }
disabled = { isSubmitDisabled }

View File

@@ -154,12 +154,12 @@ export const chatStyles = createStyleSheet({
},
pollCreateButtonsContainer: {
paddingVertical: BaseTheme.spacing[2]
paddingVertical: '8%'
},
pollCreateButton: {
flex: 1,
marginHorizontal: 8
marginHorizontal: BaseTheme.spacing[2]
},
pollSendLabel: {
@@ -200,7 +200,8 @@ export const chatStyles = createStyleSheet({
createPollButton: {
padding: 8,
margin: BaseTheme.spacing[2]
marginHorizontal: BaseTheme.spacing[2],
marginVertical: BaseTheme.spacing[4]
},
PollPane: {