FIX: macOS app UI fixes

This commit is contained in:
Marcos Rodriguez Velez 2024-01-04 14:47:17 -04:00
parent e60e9daaba
commit 6986b03c99
No known key found for this signature in database
GPG key ID: 6030B2F48CCE86D7
2 changed files with 5 additions and 14 deletions

View file

@ -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}

View file

@ -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>
);