Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Replace share text with an image on iOS #242

Merged
merged 17 commits into from
Oct 3, 2019
Merged
Prev Previous commit
Next Next commit
👌🏻 Added a blank line between relative and absolute imports
  • Loading branch information
James Pearson committed Oct 3, 2019
commit 2bf5212fab43be50e330adcc3250fcbd9c218560
3 changes: 2 additions & 1 deletion App/Screens/ShareScreen/ShareScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,15 @@ import React, { useEffect, createRef } from 'react';
import { Share, StyleSheet, View } from 'react-native';
import { NavigationInjectedProps } from 'react-navigation';
import { captureRef } from 'react-native-view-shot';

import { ShareImage } from './ShareImage';
jamespearson marked this conversation as resolved.
Show resolved Hide resolved
import { i18n } from '../../localization';
import { Button } from '../../components';
import * as theme from '../../util/theme';

interface ShareScreenProps extends NavigationInjectedProps { }

export function ShareScreen (props: ShareScreenProps) {
export function ShareScreen(props: ShareScreenProps) {
const refViewShot = createRef();

useEffect(() => {
Expand Down