Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
feat(polls): removed platform check and fixed button arrangement (#12780)
Calinteodor77e75815dc8f
diff --git a/react/features/polls/components/native/PollAnswer.tsx b/react/features/polls/components/native/PollAnswer.tsxindex 63738751f9..e2bcbf8d84 100644--- a/react/features/polls/components/native/PollAnswer.tsx+++ b/react/features/polls/components/native/PollAnswer.tsx@@ -63,7 +63,6 @@ const PollAnswer = (props: AbstractProps) => {type = { PRIMARY } /></View></>-);};diff --git a/react/features/polls/components/native/PollCreate.js b/react/features/polls/components/native/PollCreate.jsindex 8ca51bfb62..64c31da7b7 100644--- a/react/features/polls/components/native/PollCreate.js+++ b/react/features/polls/components/native/PollCreate.js@@ -117,8 +117,6 @@ const PollCreate = (props: AbstractProps) => {}</View>);- const buttonRowStyles = Platform.OS === 'android'- ? chatStyles.buttonRowAndroid : chatStyles.buttonRowIos;const pollCreateButtonsContainerStyles = Platform.OS === 'android'? chatStyles.pollCreateButtonsContainerAndroid : chatStyles.pollCreateButtonsContainerIos;@@ -157,7 +155,7 @@ const PollCreate = (props: AbstractProps) => {style = { chatStyles.pollCreateAddButton }type = { SECONDARY } /><View- style = { buttonRowStyles }>+ style = { chatStyles.buttonRow }><ButtonaccessibilityLabel = 'polls.create.cancel'labelKey = 'polls.create.cancel'diff --git a/react/features/polls/components/native/PollsPane.js b/react/features/polls/components/native/PollsPane.jsindex de632dbed2..c0c0926dbe 100644--- a/react/features/polls/components/native/PollsPane.js+++ b/react/features/polls/components/native/PollsPane.js@@ -53,7 +53,6 @@ const PollsPane = (props: AbstractProps) => {createMode? <PollCreate setCreateMode = { setCreateMode } />: <PollsList />-}{!createMode && <Buttondiff --git a/react/features/polls/components/native/styles.js b/react/features/polls/components/native/styles.jsindex cdb60e0eac..d6add248c4 100644--- a/react/features/polls/components/native/styles.js+++ b/react/features/polls/components/native/styles.js@@ -169,16 +169,6 @@ export const chatStyles = createStyleSheet({},buttonRow: {- flexDirection: 'row',- justifyContent: 'center'- },-- buttonRowAndroid: {- flexDirection: 'row',- justifyContent: 'space-between'- },-- buttonRowIos: {flexDirection: 'row',justifyContent: 'space-between'},