Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Commit

Permalink
fix-icon-sizing (#3588)
Browse files Browse the repository at this point in the history
  • Loading branch information
nvllz authored Oct 6, 2024
1 parent 0556689 commit ca6328f
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions screen/settings/src/main/java/com/ivy/settings/SettingsScreen.kt
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ private fun BoxWithConstraintsScope.UI(
SettingsDefaultButton(
icon = R.drawable.ic_vue_security_shield,
text = stringResource(R.string.backup_data),
iconPadding = 6.dp
iconPadding = 8.dp
) {
onBackupData()
}
Expand Down Expand Up @@ -309,6 +309,7 @@ private fun BoxWithConstraintsScope.UI(
if (languageOptionVisible) {
SettingsDefaultButton(
icon = R.drawable.ic_vue_location_global,
iconPadding = 6.dp,
text = stringResource(R.string.language),
description = Locale.getDefault().displayName
) {
Expand Down Expand Up @@ -430,7 +431,7 @@ private fun BoxWithConstraintsScope.UI(

SettingsPrimaryButton(
icon = R.drawable.github_logo,
iconPadding = 8.dp,
iconPadding = 10.dp,
text = stringResource(R.string.ivy_wallet_is_opensource),
backgroundGradient = Gradient.solid(MediumBlack)
) {
Expand Down Expand Up @@ -590,7 +591,7 @@ private fun StartDateOfMonth(
icon = R.drawable.ic_custom_calendar_m,
tint = UI.colors.pureInverse,
iconScale = IconScale.M,
padding = 0.dp
padding = 2.dp
)

Spacer(Modifier.width(8.dp))
Expand Down Expand Up @@ -654,7 +655,7 @@ private fun IvyTelegram() {
icon = R.drawable.ic_telegram_24dp,
text = stringResource(R.string.ivy_telegram),
backgroundGradient = Gradient.solid(Blue),
iconPadding = 8.dp
iconPadding = 10.dp
) {
rootActivity.openUrlInBrowser(Constants.URL_IVY_TELEGRAM_INVITE)
}
Expand Down Expand Up @@ -711,7 +712,7 @@ private fun Releases(nav: Navigation) {
SettingsDefaultButton(
icon = R.drawable.ic_vue_money_tag,
text = stringResource(R.string.releases),
iconPadding = 10.dp
iconPadding = 8.dp
) {
nav.navigateTo(ReleasesScreen)
}
Expand All @@ -722,7 +723,7 @@ private fun Contributors(nav: Navigation) {
SettingsDefaultButton(
icon = R.drawable.ic_vue_people_people,
text = stringResource(R.string.project_contributors),
iconPadding = 6.dp
iconPadding = 8.dp
) {
nav.navigateTo(ContributorsScreen)
}
Expand Down

0 comments on commit ca6328f

Please sign in to comment.