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 {
Text(
text = commit.fullMessage,
style = MaterialTheme.typography.body1,
style = MaterialTheme.typography.body2,
modifier = Modifier
.fillMaxWidth()
.background(MaterialTheme.colors.background)

View File

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