mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-24 07:28:07 +01:00
commit
fecefc4a25
3 changed files with 5 additions and 16 deletions
|
@ -322,7 +322,7 @@ const AztecoRedeemRoot = () => {
|
|||
|
||||
const ScanQRCodeStack = createNativeStackNavigator();
|
||||
const ScanQRCodeRoot = () => (
|
||||
<ScanQRCodeStack.Navigator screenOptions={{ headerShown: false, presentation: isDesktop ? 'containedModal' : 'fullScreenModal' }}>
|
||||
<ScanQRCodeStack.Navigator screenOptions={{ headerShown: false, presentation: 'fullScreenModal' }}>
|
||||
<ScanQRCodeStack.Screen name="ScanQRCode" component={ScanQRCode} />
|
||||
</ScanQRCodeStack.Navigator>
|
||||
);
|
||||
|
@ -450,7 +450,7 @@ const InitRoot = () => (
|
|||
<InitStack.Screen
|
||||
name="ReorderWallets"
|
||||
component={ReorderWalletsStackRoot}
|
||||
options={{ headerShown: false, gestureEnabled: false, presentation: isDesktop ? 'containedModal' : 'modal' }}
|
||||
options={{ headerShown: false, gestureEnabled: false, presentation: 'modal' }}
|
||||
/>
|
||||
<InitStack.Screen
|
||||
name={isHandset ? 'Navigation' : 'DrawerRoot'}
|
||||
|
@ -513,8 +513,8 @@ const PaymentCodeStackRoot = () => {
|
|||
};
|
||||
|
||||
const RootStack = createNativeStackNavigator();
|
||||
const NavigationDefaultOptions = { headerShown: false, presentation: isDesktop ? 'containedModal' : 'modal' };
|
||||
const NavigationFormModalOptions = { headerShown: false, presentation: isDesktop ? 'containedModal' : 'formSheet' };
|
||||
const NavigationDefaultOptions = { headerShown: false, presentation: 'modal' };
|
||||
const NavigationFormModalOptions = { headerShown: false, presentation: 'formSheet' };
|
||||
const StatusBarLightOptions = { statusBarStyle: 'light' };
|
||||
const Navigation = () => {
|
||||
return (
|
||||
|
@ -562,7 +562,7 @@ const Navigation = () => {
|
|||
component={ScanQRCodeRoot}
|
||||
options={{
|
||||
headerShown: false,
|
||||
presentation: isDesktop ? 'containedModal' : 'fullScreenModal',
|
||||
presentation: 'fullScreenModal',
|
||||
statusBarHidden: true,
|
||||
}}
|
||||
initialParams={ScanQRCode.initialParams}
|
||||
|
|
|
@ -275,15 +275,6 @@ const WalletTransactions = ({ navigation }) => {
|
|||
)}
|
||||
<View style={styles.listHeaderTextRow}>
|
||||
<Text style={[styles.listHeaderText, stylesHook.listHeaderText]}>{loc.transactions.list_title}</Text>
|
||||
<TouchableOpacity
|
||||
accessibilityRole="button"
|
||||
testID="refreshTransactions"
|
||||
style={style}
|
||||
onPress={refreshTransactions}
|
||||
disabled={isLoading}
|
||||
>
|
||||
<Icon name="refresh" type="font-awesome" color={colors.feeText} />
|
||||
</TouchableOpacity>
|
||||
</View>
|
||||
</View>
|
||||
);
|
||||
|
|
|
@ -457,8 +457,6 @@ describe('BlueWallet UI Tests - import BIP84 wallet', () => {
|
|||
// go inside the wallet
|
||||
await element(by.text('Imported HD SegWit (BIP84 Bech32 Native)')).tap();
|
||||
|
||||
// refresh transactions
|
||||
await element(by.id('refreshTransactions')).tap();
|
||||
await waitFor(element(by.id('NoTxBuyBitcoin')))
|
||||
.not.toExist()
|
||||
.withTimeout(300 * 1000);
|
||||
|
|
Loading…
Add table
Reference in a new issue