mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2024-12-17 17:20:21 +01:00
ios: fix search color in simplex dark theme (#4611)
* ios: fix search color in simplex dark theme * paddings, colors, group icon --------- Co-authored-by: Evgeny Poberezkin <evgeny@poberezkin.com>
This commit is contained in:
+4
-6
@@ -250,7 +250,6 @@ private fun NewChatSheetLayout(
|
||||
icon = it.first,
|
||||
text = it.second,
|
||||
click = it.third,
|
||||
extraPadding = true,
|
||||
)
|
||||
}
|
||||
}
|
||||
@@ -283,7 +282,7 @@ private fun NewChatSheetLayout(
|
||||
contentDescription = stringResource(MR.strings.deleted_chats),
|
||||
tint = MaterialTheme.colors.secondary,
|
||||
)
|
||||
TextIconSpaced(extraPadding = true)
|
||||
TextIconSpaced(false)
|
||||
Text(text = stringResource(MR.strings.deleted_chats), color = MaterialTheme.colors.onBackground)
|
||||
}
|
||||
}
|
||||
@@ -330,14 +329,13 @@ private fun NewChatButton(
|
||||
text: String,
|
||||
click: () -> Unit,
|
||||
textColor: Color = Color.Unspecified,
|
||||
iconColor: Color = MaterialTheme.colors.secondary,
|
||||
disabled: Boolean = false,
|
||||
extraPadding: Boolean = false,
|
||||
iconColor: Color = MaterialTheme.colors.primary,
|
||||
disabled: Boolean = false
|
||||
) {
|
||||
SectionItemView(click, disabled = disabled) {
|
||||
Row {
|
||||
Icon(icon, text, tint = if (disabled) MaterialTheme.colors.secondary else iconColor)
|
||||
TextIconSpaced(extraPadding)
|
||||
TextIconSpaced(false)
|
||||
Text(text, color = if (disabled) MaterialTheme.colors.secondary else textColor)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user