Reduced font size for commit message and fixed issue in settings dialog when switching between themes

This commit is contained in:
Abdelilah El Aissaoui 2022-07-14 22:32:13 +02:00
parent 7164bd3e71
commit fe77505e7d
2 changed files with 3 additions and 1 deletions

View File

@ -82,7 +82,7 @@ fun CommitChangesView(
SelectionContainer { SelectionContainer {
Text( Text(
text = commit.fullMessage, text = commit.fullMessage,
style = MaterialTheme.typography.body1, style = MaterialTheme.typography.body2,
modifier = Modifier modifier = Modifier
.fillMaxWidth() .fillMaxWidth()
.background(MaterialTheme.colors.background) .background(MaterialTheme.colors.background)

View File

@ -195,6 +195,7 @@ fun SettingButton(
OutlinedButton(onClick = onClick) { OutlinedButton(onClick = onClick) {
Text( Text(
text = buttonText, text = buttonText,
color = MaterialTheme.colors.primaryTextColor,
style = MaterialTheme.typography.body1, style = MaterialTheme.typography.body1,
) )
} }
@ -282,6 +283,7 @@ private fun FieldTitles(
) { ) {
Text( Text(
text = title, text = title,
color = MaterialTheme.colors.primaryTextColor,
style = MaterialTheme.typography.body1, style = MaterialTheme.typography.body1,
) )