Skip to content

Commit

Permalink
fix: update snaps
Browse files Browse the repository at this point in the history
  • Loading branch information
vinnyhoward committed Jan 6, 2025
1 parent a6b8b1d commit 5c99484
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 41 deletions.
16 changes: 0 additions & 16 deletions app/components/UI/SettingsDrawer/__snapshots__/index.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,6 @@ exports[`SettingsDrawer SettingsDrawer should render correctly 1`] = `
</View>
</View>
</View>
<View
style={
{
"borderTopColor": "#f2f4f6",
"borderTopWidth": 1,
}
}
/>
</TouchableOpacity>
`;

Expand Down Expand Up @@ -203,13 +195,5 @@ exports[`SettingsDrawer SettingsDrawer should render with redesign enabled 1`] =
</View>
</View>
</View>
<View
style={
{
"borderTopColor": "#f2f4f6",
"borderTopWidth": 1,
}
}
/>
</TouchableOpacity>
`;
4 changes: 3 additions & 1 deletion app/components/UI/SettingsDrawer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,9 @@ const SettingsDrawer: React.FC<SettingsDrawerProps> = ({
</ListItemColumn>
)}
</ListItem>
{!isLast && <View style={styles.separator} />}
{!isLast && isSettingsRedesignEnabled && (
<View style={styles.separator} />
)}
</TouchableOpacity>
);
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,14 +145,6 @@ exports[`DefaultSettings should render correctly 1`] = `
</View>
</View>
</View>
<View
style={
{
"borderTopColor": "#f2f4f6",
"borderTopWidth": 1,
}
}
/>
</TouchableOpacity>
<TouchableOpacity
onPress={[Function]}
Expand Down Expand Up @@ -249,14 +241,6 @@ exports[`DefaultSettings should render correctly 1`] = `
</View>
</View>
</View>
<View
style={
{
"borderTopColor": "#f2f4f6",
"borderTopWidth": 1,
}
}
/>
</TouchableOpacity>
<TouchableOpacity
onPress={[Function]}
Expand Down Expand Up @@ -353,14 +337,6 @@ exports[`DefaultSettings should render correctly 1`] = `
</View>
</View>
</View>
<View
style={
{
"borderTopColor": "#f2f4f6",
"borderTopWidth": 1,
}
}
/>
</TouchableOpacity>
</View>
</RCTScrollView>
Expand Down

0 comments on commit 5c99484

Please sign in to comment.