Skip to content

Commit 71a8f33

Browse files
authored
Merge pull request #1622 from StoDevX/ksto-error
clean up the ksto error message display
2 parents de90a5d + be7cac1 commit 71a8f33

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

source/views/streaming/radio.js

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,17 @@ export default class KSTOView extends React.PureComponent<void, Props, State> {
160160
</View>
161161

162162
<View style={styles.container}>
163-
<Title />
163+
<View style={styles.titleWrapper}>
164+
<Text selectable={true} style={styles.heading}>
165+
St. Olaf College Radio
166+
</Text>
167+
<Text selectable={true} style={styles.subHeading}>
168+
KSTO 93.1 FM
169+
</Text>
170+
171+
{error}
172+
</View>
164173

165-
{error}
166174
{button}
167175

168176
{this.state.playState === 'playing'
@@ -180,16 +188,6 @@ export default class KSTOView extends React.PureComponent<void, Props, State> {
180188
}
181189
}
182190

183-
const Title = () =>
184-
<View style={styles.titleWrapper}>
185-
<Text selectable={true} style={styles.heading}>
186-
St. Olaf College Radio
187-
</Text>
188-
<Text selectable={true} style={styles.subHeading}>
189-
KSTO 93.1 FM
190-
</Text>
191-
</View>
192-
193191
type ActionButtonProps = {
194192
icon: string,
195193
text: string,
@@ -246,10 +244,12 @@ const styles = StyleSheet.create({
246244
textAlign: 'center',
247245
},
248246
status: {
249-
paddingTop: 10,
250247
fontWeight: '400',
251-
fontSize: 24,
248+
fontSize: 18,
249+
textAlign: 'center',
252250
color: c.grapefruit,
251+
marginTop: 15,
252+
marginBottom: 5,
253253
},
254254
})
255255

0 commit comments

Comments
 (0)