Skip to content

Commit 3396dea

Browse files
committed
v2.1 fix icons color based on text
1 parent 1eb8c07 commit 3396dea

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

gradient-button/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ afterEvaluate {
7777

7878
groupId = 'com.maf.custom.views'
7979
artifactId = 'gradient-button'
80-
version = '2.0'
80+
version = '2.1'
8181
}
8282
}
8383
}

gradient-button/src/main/java/com/maf/custom/views/gradient_button/CustomGradientButton.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,6 @@ fun GradientButton(
369369
painter = painterResource(id = startIconRes),
370370
contentDescription = null,
371371
modifier = Modifier.wrapContentSize(),
372-
colorFilter = ColorFilter.tint(buttonTextColor)
373372
)
374373
Spacer(modifier = Modifier.width(startIconPadding))
375374
}
@@ -403,7 +402,6 @@ fun GradientButton(
403402
painter = painterResource(id = endIconRes),
404403
contentDescription = null,
405404
modifier = Modifier.wrapContentSize(),
406-
colorFilter = ColorFilter.tint(buttonTextColor)
407405
)
408406
}
409407
endIconLink?.let {

0 commit comments

Comments
 (0)