Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 10 additions & 8 deletions app/views/SidebarView/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useEffect, useState } from 'react';
import { type DrawerNavigationProp } from '@react-navigation/drawer';
import { ScrollView } from 'react-native';
import { ScrollView, View } from 'react-native';

import scrollPersistTaps from '../../lib/methods/helpers/scrollPersistTaps';
import styles from './styles';
Expand All @@ -25,13 +25,15 @@ const SidebarView = ({ navigation }: { navigation: DrawerNavigationProp<DrawerPa
}, [navigation]);

return (
<ScrollView testID='sidebar-view' style={styles.container} {...scrollPersistTaps}>
<Profile navigation={navigation} />
<SupportedVersionsWarnItem />
<CustomStatus />
<Stacks currentScreen={currentScreen} />
<Admin currentScreen={currentScreen} />
</ScrollView>
<View testID='sidebar-view' style={styles.container}>
<ScrollView style={styles.container} {...scrollPersistTaps}>
<Profile navigation={navigation} />
<SupportedVersionsWarnItem />
<CustomStatus />
<Stacks currentScreen={currentScreen} />
<Admin currentScreen={currentScreen} />
</ScrollView>
</View>
);
};

Expand Down
Loading