Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mobile: Fixes #9500: Fix font for the inbox email address not using the theme color #9503

Merged
merged 1 commit into from
Dec 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -438,7 +438,7 @@ class ConfigScreenComponent extends BaseScreenComponent<ConfigScreenProps, Confi
<View key="joplinCloud">
<View style={this.styles().styleSheet.settingContainerNoBottomBorder}>
<Text style={this.styles().styleSheet.settingText}>{label}</Text>
<Text style={{ fontWeight: 'bold' }}>{this.props.settings['sync.10.inboxEmail']}</Text>
<Text style={this.styles().styleSheet.settingTextEmphasis}>{this.props.settings['sync.10.inboxEmail']}</Text>
</View>
{
this.renderButton(
Expand Down
Expand Up @@ -12,6 +12,7 @@ export interface ConfigScreenStyleSheet {

headerTextStyle: TextStyle;
settingText: TextStyle;
settingTextEmphasis: TextStyle;
linkText: TextStyle;
descriptionText: TextStyle;
warningText: TextStyle;
Expand Down Expand Up @@ -109,6 +110,10 @@ const configScreenStyles = (themeId: number): ConfigScreenStyles => {
paddingBottom: theme.marginBottom / 2,
},
settingText: settingTextStyle,
settingTextEmphasis: {
fontWeight: 'bold',
color: theme.color,
},
descriptionText: {
color: theme.colorFaded,
fontSize: theme.fontSizeSmaller,
Expand Down