Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(rn): few minor fixes and improvements
- Loading branch information
Showing
5 changed files
with
20 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 8 additions & 2 deletions
10
client/react-native/common/components/Screens/Contacts/Add/ByBump.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,14 @@ | ||
import React, { PureComponent } from 'react' | ||
import { Text } from '../../../Library' | ||
import { Text, Flex } from '../../../Library' | ||
|
||
export default class ByBump extends PureComponent { | ||
render () { | ||
return <Text>Bump!</Text> | ||
return ( | ||
<Flex.Cols size={1} align='center' space='between'> | ||
<Flex.Rows size={1} align='center' space='between'> | ||
<Text big>Bump!</Text> | ||
</Flex.Rows> | ||
</Flex.Cols> | ||
) | ||
} | ||
} |
12 changes: 9 additions & 3 deletions
12
client/react-native/common/components/Screens/Contacts/Add/Invite.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,14 @@ | ||
import React, { PureComponent } from 'react' | ||
import { Text } from '../../../Library' | ||
import { Text, Flex } from '../../../Library' | ||
|
||
export default class ByBump extends PureComponent { | ||
export default class Invite extends PureComponent { | ||
render () { | ||
return <Text>Invite!</Text> | ||
return ( | ||
<Flex.Cols size={1} align='center' space='between'> | ||
<Flex.Rows size={1} align='center' space='between'> | ||
<Text big>Invite!</Text> | ||
</Flex.Rows> | ||
</Flex.Cols> | ||
) | ||
} | ||
} |
4 changes: 2 additions & 2 deletions
4
client/react-native/common/components/Screens/Contacts/Add/QRReader/QRReader.native.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import React, { PureComponent, Fragment } from 'react' | ||
import { PureComponent } from 'react' | ||
export default class QRReader extends PureComponent { | ||
render () { | ||
return <Fragment /> | ||
return null | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters