Skip to content

Commit

Permalink
feat: optimize model pricing display
Browse files Browse the repository at this point in the history
  • Loading branch information
zhu-xiaowei committed Nov 29, 2024
1 parent 906ea6c commit 1a70bea
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions react-native/src/settings/TokenUsageScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,11 @@ function TokenUsageScreen(): React.JSX.Element {
onPress={() =>
Linking.openURL('https://aws.amazon.com/bedrock/pricing/')
}>
View model pricing on Amazon Bedrock
View{' '}
<Text style={[styles.priceLink, styles.underline]}>
model pricing
</Text>{' '}
on Amazon Bedrock
</Text>
</ScrollView>
</SafeAreaView>
Expand Down Expand Up @@ -190,9 +194,11 @@ const styles = StyleSheet.create({
marginLeft: 4,
paddingVertical: 8,
textAlign: 'left',
textDecorationLine: 'underline',
marginVertical: 16,
},
underline: {
textDecorationLine: 'underline',
},
});

export default TokenUsageScreen;

0 comments on commit 1a70bea

Please sign in to comment.