Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

Commit

Permalink
style: video fab improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
gmsgowtham committed Jun 25, 2023
1 parent 3a971a3 commit b858130
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions src/screens/Video/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const ArticleScreen: FunctionComponent<Props> = ({ route, navigation }) => {
style={styles.backgroundVideo}
poster={cover}
onBack={onBackActionPress}
controlTimeout={5000}
controlTimeoutDelay={5000}
onEnterFullscreen={() => setIsFullScreen(true)}
onExitFullscreen={() => setIsFullScreen(false)}
onHideControls={() => setIsControlsVisible(false)}
Expand All @@ -65,13 +65,15 @@ const ArticleScreen: FunctionComponent<Props> = ({ route, navigation }) => {
icon="share"
accessibilityLabel="Share"
onPress={onShareActionPress}
variant="primary"
style={styles.fab}
color={"#fff"}
/>
<FAB
icon="earth"
accessibilityLabel="Open in Browser"
onPress={onOpenInBrowserActionPress}
variant="tertiary"
style={styles.fab}
color={"#fff"}
/>
</View>
</>
Expand Down Expand Up @@ -109,6 +111,9 @@ const styles = StyleSheet.create({
bottom: 100,
right: 16,
},
fab: {
backgroundColor: "transparent",
},
});

export default ArticleScreen;

0 comments on commit b858130

Please sign in to comment.