mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-03-04 04:13:49 +01:00
FIX: macOS app UI fixes
This commit is contained in:
parent
e60e9daaba
commit
6986b03c99
2 changed files with 5 additions and 14 deletions
|
@ -322,7 +322,7 @@ const AztecoRedeemRoot = () => {
|
||||||
|
|
||||||
const ScanQRCodeStack = createNativeStackNavigator();
|
const ScanQRCodeStack = createNativeStackNavigator();
|
||||||
const ScanQRCodeRoot = () => (
|
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.Screen name="ScanQRCode" component={ScanQRCode} />
|
||||||
</ScanQRCodeStack.Navigator>
|
</ScanQRCodeStack.Navigator>
|
||||||
);
|
);
|
||||||
|
@ -450,7 +450,7 @@ const InitRoot = () => (
|
||||||
<InitStack.Screen
|
<InitStack.Screen
|
||||||
name="ReorderWallets"
|
name="ReorderWallets"
|
||||||
component={ReorderWalletsStackRoot}
|
component={ReorderWalletsStackRoot}
|
||||||
options={{ headerShown: false, gestureEnabled: false, presentation: isDesktop ? 'containedModal' : 'modal' }}
|
options={{ headerShown: false, gestureEnabled: false, presentation: 'modal' }}
|
||||||
/>
|
/>
|
||||||
<InitStack.Screen
|
<InitStack.Screen
|
||||||
name={isHandset ? 'Navigation' : 'DrawerRoot'}
|
name={isHandset ? 'Navigation' : 'DrawerRoot'}
|
||||||
|
@ -513,8 +513,8 @@ const PaymentCodeStackRoot = () => {
|
||||||
};
|
};
|
||||||
|
|
||||||
const RootStack = createNativeStackNavigator();
|
const RootStack = createNativeStackNavigator();
|
||||||
const NavigationDefaultOptions = { headerShown: false, presentation: isDesktop ? 'containedModal' : 'modal' };
|
const NavigationDefaultOptions = { headerShown: false, presentation: 'modal' };
|
||||||
const NavigationFormModalOptions = { headerShown: false, presentation: isDesktop ? 'containedModal' : 'formSheet' };
|
const NavigationFormModalOptions = { headerShown: false, presentation: 'formSheet' };
|
||||||
const StatusBarLightOptions = { statusBarStyle: 'light' };
|
const StatusBarLightOptions = { statusBarStyle: 'light' };
|
||||||
const Navigation = () => {
|
const Navigation = () => {
|
||||||
return (
|
return (
|
||||||
|
@ -562,7 +562,7 @@ const Navigation = () => {
|
||||||
component={ScanQRCodeRoot}
|
component={ScanQRCodeRoot}
|
||||||
options={{
|
options={{
|
||||||
headerShown: false,
|
headerShown: false,
|
||||||
presentation: isDesktop ? 'containedModal' : 'fullScreenModal',
|
presentation: 'fullScreenModal',
|
||||||
statusBarHidden: true,
|
statusBarHidden: true,
|
||||||
}}
|
}}
|
||||||
initialParams={ScanQRCode.initialParams}
|
initialParams={ScanQRCode.initialParams}
|
||||||
|
|
|
@ -275,15 +275,6 @@ const WalletTransactions = ({ navigation }) => {
|
||||||
)}
|
)}
|
||||||
<View style={styles.listHeaderTextRow}>
|
<View style={styles.listHeaderTextRow}>
|
||||||
<Text style={[styles.listHeaderText, stylesHook.listHeaderText]}>{loc.transactions.list_title}</Text>
|
<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>
|
||||||
</View>
|
</View>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Reference in a new issue