File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 1
- import { Colors } from "react-native/Libraries/NewAppScreen" ;
2
- import { Button , TextInput } from "react-native" ;
1
+ import { Button } from "react-native" ;
3
2
import React , { useState } from "react" ;
4
3
import OpenPGP from 'react-native-fast-openpgp' ;
5
4
import SectionContainer from "../components/SectionContainer" ;
@@ -19,7 +18,7 @@ export default function ({privateKey}: Props) {
19
18
< SectionContainer testID = { 'convert' } >
20
19
< SectionTitle > Convert</ SectionTitle >
21
20
< Button
22
- title = { "convertPrivateKeyToPublicKey " }
21
+ title = { "convert PrivateKey To PublicKey " }
23
22
testID = { 'button' }
24
23
onPress = { async ( ) => {
25
24
const output = await OpenPGP . convertPrivateKeyToPublicKey ( privateKey ) ;
Original file line number Diff line number Diff line change 1
- import { Colors } from 'react-native/Libraries/NewAppScreen' ;
2
- import { Button , TextInput } from 'react-native' ;
1
+ import { Button } from 'react-native' ;
3
2
import React , { useState } from 'react' ;
4
3
import OpenPGP from 'react-native-fast-openpgp' ;
5
4
import SectionContainer from '../components/SectionContainer' ;
@@ -21,7 +20,7 @@ export default function ({ publicKey, privateKey }: Props) {
21
20
< SectionContainer testID = { 'privatekey' } >
22
21
< SectionTitle > Metadata PrivateKey</ SectionTitle >
23
22
< Button
24
- title = { 'getPrivateKeyMetadata ' }
23
+ title = { 'get PrivateKey Metadata ' }
25
24
testID = { 'button' }
26
25
onPress = { async ( ) => {
27
26
const output = await OpenPGP . getPrivateKeyMetadata ( privateKey ) ;
@@ -33,7 +32,7 @@ export default function ({ publicKey, privateKey }: Props) {
33
32
< SectionContainer testID = { 'publikey' } >
34
33
< SectionTitle > Metadata PrivateKey</ SectionTitle >
35
34
< Button
36
- title = { 'getPublicKeyMetadata ' }
35
+ title = { 'get PublicKey Metadata ' }
37
36
testID = { 'button' }
38
37
onPress = { async ( ) => {
39
38
const output = await OpenPGP . getPublicKeyMetadata ( publicKey ) ;
You can’t perform that action at this time.
0 commit comments