Update lightningSettings.tsx

This commit is contained in:
Marcos Rodriguez Velez 2023-11-15 09:05:23 -04:00
parent d87470163a
commit 538eb55ed3
No known key found for this signature in database
GPG Key ID: 6030B2F48CCE86D7

View File

@ -1,6 +1,6 @@
import React, { useState, useEffect, useCallback } from 'react';
import { View, TextInput, Linking, StyleSheet, Alert, I18nManager } from 'react-native';
import { ButtonRNElements } from 'react-native-elements';
import { Button as ButtonRNElements } from 'react-native-elements';
import { useNavigation, useRoute, RouteProp } from '@react-navigation/native';
import AsyncStorage from '@react-native-async-storage/async-storage';
@ -174,7 +174,7 @@ const LightningSettings: React.FC & { navigationOptions: NavigationOptionsGetter
<BlueSpacing20 />
<BlueButtonLink title={loc.wallets.import_scan_qr} testID="ImportScan" onPress={importScan} />
<BlueSpacing20 />
{isLoading ? <BlueLoading /> : <BlueButton testID="Save" onPress={save} title={loc.settings.save} />}
{isLoading ? <BlueLoading /> : <Button testID="Save" onPress={save} title={loc.settings.save} />}
</BlueCard>
</SafeBlueArea>
);