Skip to content

Commit

Permalink
release 3.0.1 (#228)
Browse files Browse the repository at this point in the history
* Release notes
* Bump version
* Fixed chip color
  • Loading branch information
Jean-BaptisteC authored Jan 4, 2023
1 parent dbca7e3 commit 054ee31
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ android {
defaultConfig {
minSdk 21
targetSdk 32
versionCode 13
versionName "3.0.0"
versionCode 14
versionName "3.0.1"
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
buildConfigField "String", "EXODUS_API_KEY", "\"$System.env.EXODUS_API_KEY\""
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ fun Chip.setExodusColor(size: Int) {
this.setTextColor(textColorStateList)
this.chipBackgroundColor = backgroundColorStateList
} else {
val colorForeground =
ColorStateList.valueOf(ContextCompat.getColor(context, R.color.m3_chip_text_color))
this.chipIconTint = colorForeground
this.setTextColor(colorForeground)
val colorBackground = ContextCompat.getColor(context, R.color.chipColor)
this.chipBackgroundColor = ColorStateList.valueOf(colorBackground)
}
Expand Down
2 changes: 2 additions & 0 deletions app/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@

<style name="Theme.Exodus.Chip" parent="Widget.Material3.Chip.Suggestion.Elevated">
<item name="android:layout_marginEnd">5dp</item>
<item name="android:textColor">@color/m3_chip_text_color</item>
<item name="chipBackgroundColor">@color/chipColor</item>
<item name="chipIconTint">@color/m3_chip_text_color</item>
<item name="chipCornerRadius">50dp</item>
<item name="chipIconVisible">true</item>
<item name="android:checkable">false</item>
Expand Down
3 changes: 3 additions & 0 deletions fastlane/metadata/android/en-US/changelogs/14.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Updated dependencies
- Some improvements
- Fixed download reports and trackers
3 changes: 3 additions & 0 deletions fastlane/metadata/android/fr-FR/changelogs/14.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
- Mises à jour des dépendances
- Quelques améliorations
- Correction du téléchargement des rapports et des pisteurs

0 comments on commit 054ee31

Please sign in to comment.