diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2019-09-30 16:06:06 +0200 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2019-09-30 16:06:06 +0200 |
| commit | 086db99ce742c68ec55ac5f49b9c4bfba1945a59 (patch) | |
| tree | 8896267bf5fa344245b73930e4e6799bdf9ec006 /gui/src | |
| parent | 17831fff7347c0b201e2ab313f1f4994d832e7b6 (diff) | |
| download | mullvadvpn-086db99ce742c68ec55ac5f49b9c4bfba1945a59.tar.xz mullvadvpn-086db99ce742c68ec55ac5f49b9c4bfba1945a59.zip | |
Fix missing section titles
Diffstat (limited to 'gui/src')
| -rw-r--r-- | gui/src/renderer/components/Selector.tsx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gui/src/renderer/components/Selector.tsx b/gui/src/renderer/components/Selector.tsx index 1bbc00ba9a..a17b960d78 100644 --- a/gui/src/renderer/components/Selector.tsx +++ b/gui/src/renderer/components/Selector.tsx @@ -44,7 +44,12 @@ export default class Selector<T> extends Component<ISelectorProps<T>> { }); if (this.props.title) { - return <Cell.Section style={[styles.section, this.props.style]}>{items}</Cell.Section>; + return ( + <Cell.Section style={[styles.section, this.props.style]}> + <Cell.SectionTitle>{this.props.title}</Cell.SectionTitle> + {items} + </Cell.Section> + ); } else { return <View style={[styles.section, this.props.style]}>{items}</View>; } |
