mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-22 23:08:07 +01:00
Merge pull request #3959 from BlueWallet/limpbrains-import-dark
FIX: dark mode in new import screens
This commit is contained in:
commit
bcb2cab9bb
2 changed files with 6 additions and 2 deletions
|
@ -132,6 +132,7 @@ const ImportCustomDerivationPath = () => {
|
|||
data={items}
|
||||
keyExtractor={w => path + w[0]}
|
||||
renderItem={renderItem}
|
||||
contentContainerStyle={styles.flatListContainer}
|
||||
ListEmptyComponent={() => <BlueTextCentered>{loc.wallets.import_wrong_path}</BlueTextCentered>}
|
||||
/>
|
||||
|
||||
|
@ -152,6 +153,8 @@ const ImportCustomDerivationPath = () => {
|
|||
const styles = StyleSheet.create({
|
||||
root: {
|
||||
paddingTop: 10,
|
||||
},
|
||||
flatListContainer: {
|
||||
marginHorizontal: 16,
|
||||
},
|
||||
listContainer: {
|
||||
|
@ -168,6 +171,7 @@ const styles = StyleSheet.create({
|
|||
flexDirection: 'row',
|
||||
borderWidth: 1,
|
||||
borderBottomWidth: 0.5,
|
||||
marginHorizontal: 16,
|
||||
minHeight: 44,
|
||||
height: 44,
|
||||
alignItems: 'center',
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
import React, { useContext, useEffect, useState, useRef, useMemo } from 'react';
|
||||
import { ActivityIndicator, Alert, LayoutAnimation, StyleSheet, Text, View, FlatList } from 'react-native';
|
||||
import { ActivityIndicator, Alert, FlatList, LayoutAnimation, StyleSheet, View } from 'react-native';
|
||||
import IdleTimerManager from 'react-native-idle-timer';
|
||||
import { useNavigation, useRoute, useTheme } from '@react-navigation/native';
|
||||
import ReactNativeHapticFeedback from 'react-native-haptic-feedback';
|
||||
|
@ -139,7 +139,7 @@ const ImportWalletDiscovery = () => {
|
|||
<BlueSpacing10 />
|
||||
<ActivityIndicator testID="Loading" />
|
||||
<BlueSpacing10 />
|
||||
<Text>{progress}</Text>
|
||||
<BlueFormLabel>{progress}</BlueFormLabel>
|
||||
<BlueSpacing10 />
|
||||
</>
|
||||
)}
|
||||
|
|
Loading…
Add table
Reference in a new issue