Skip to content

Commit

Permalink
fixup! Move renderTop into a class method
Browse files Browse the repository at this point in the history
  • Loading branch information
paullinator committed Jan 23, 2024
1 parent c382a31 commit 4e27e11
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/components/scenes/GuiPluginListScene.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ class GuiPluginList extends React.PureComponent<Props, State> {
return (
<>
<View style={styles.header}>
<SceneHeader title={direction === 'buy' ? lstrings.title_plugin_buy : lstrings.title_plugin_sell} underline />
<SceneHeader title={direction === 'buy' ? lstrings.title_plugin_buy : lstrings.title_plugin_sell} underline withTopMargin />
</View>
<SectionHeaderUi4 leftTitle={lstrings.title_select_region} />
<CardUi4>
Expand Down Expand Up @@ -433,7 +433,7 @@ class GuiPluginList extends React.PureComponent<Props, State> {
ListHeaderComponent={this.renderTop}
renderItem={this.renderPlugin}
keyExtractor={(item: GuiPluginRow) => item.pluginId + item.title}
contentContainerStyle={{ paddingTop: 0 }}
style={styles.listStyle}
/>
)}
</View>
Expand All @@ -446,6 +446,9 @@ const getStyles = cacheStyles((theme: Theme) => ({
marginLeft: -theme.rem(0.5),
width: '100%'
},
listStyle: {
overflow: 'visible'
},
sceneContainer: {
flex: 1
},
Expand Down

0 comments on commit 4e27e11

Please sign in to comment.