mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-01-18 13:26:33 +01:00
33 lines
1012 B
JavaScript
33 lines
1012 B
JavaScript
import { useNavigation } from '@react-navigation/native';
|
|
import React from 'react';
|
|
import { ScrollView } from 'react-native';
|
|
|
|
import ListItem from '../../components/ListItem';
|
|
import loc from '../../loc';
|
|
|
|
const ToolsScreen = () => {
|
|
const { navigate } = useNavigation();
|
|
|
|
const navigateToIsItMyAddress = () => {
|
|
navigate('IsItMyAddress');
|
|
};
|
|
|
|
const navigateToBroadcast = () => {
|
|
navigate('Broadcast');
|
|
};
|
|
|
|
const navigateToGenerateWord = () => {
|
|
navigate('GenerateWord');
|
|
};
|
|
|
|
return (
|
|
<ScrollView contentInsetAdjustmentBehavior="automatic" automaticallyAdjustContentInsets>
|
|
<ListItem title={loc.is_it_my_address.title} onPress={navigateToIsItMyAddress} testID="IsItMyAddress" chevron />
|
|
<ListItem title={loc.settings.network_broadcast} onPress={navigateToBroadcast} testID="Broadcast" chevron />
|
|
<ListItem title={loc.autofill_word.title} onPress={navigateToGenerateWord} testID="GenerateWord" chevron />
|
|
</ScrollView>
|
|
);
|
|
};
|
|
|
|
export default ToolsScreen;
|