Skip to content

Commit 6680409

Browse files
committed
fixed lint
1 parent 4ca865c commit 6680409

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

example/src/modules/Convert.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
import {Colors} from "react-native/Libraries/NewAppScreen";
2-
import {Button, TextInput} from "react-native";
1+
import {Button} from "react-native";
32
import React, {useState} from "react";
43
import OpenPGP from 'react-native-fast-openpgp';
54
import SectionContainer from "../components/SectionContainer";
@@ -19,7 +18,7 @@ export default function ({privateKey}: Props) {
1918
<SectionContainer testID={'convert'}>
2019
<SectionTitle>Convert</SectionTitle>
2120
<Button
22-
title={"convertPrivateKeyToPublicKey"}
21+
title={"convert PrivateKey To PublicKey"}
2322
testID={'button'}
2423
onPress={async () => {
2524
const output = await OpenPGP.convertPrivateKeyToPublicKey(privateKey);

example/src/modules/Metadata.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
import { Colors } from 'react-native/Libraries/NewAppScreen';
2-
import { Button, TextInput } from 'react-native';
1+
import { Button } from 'react-native';
32
import React, { useState } from 'react';
43
import OpenPGP from 'react-native-fast-openpgp';
54
import SectionContainer from '../components/SectionContainer';
@@ -21,7 +20,7 @@ export default function ({ publicKey, privateKey }: Props) {
2120
<SectionContainer testID={'privatekey'}>
2221
<SectionTitle>Metadata PrivateKey</SectionTitle>
2322
<Button
24-
title={'getPrivateKeyMetadata'}
23+
title={'get PrivateKey Metadata'}
2524
testID={'button'}
2625
onPress={async () => {
2726
const output = await OpenPGP.getPrivateKeyMetadata(privateKey);
@@ -33,7 +32,7 @@ export default function ({ publicKey, privateKey }: Props) {
3332
<SectionContainer testID={'publikey'}>
3433
<SectionTitle>Metadata PrivateKey</SectionTitle>
3534
<Button
36-
title={'getPublicKeyMetadata'}
35+
title={'get PublicKey Metadata'}
3736
testID={'button'}
3837
onPress={async () => {
3938
const output = await OpenPGP.getPublicKeyMetadata(publicKey);

0 commit comments

Comments
 (0)