Skip to content

Commit

Permalink
Change image content style of monster detail (#325)
Browse files Browse the repository at this point in the history
* Update Main.yml

* Change image content style of monster detail
  • Loading branch information
alexandregpereira authored Aug 18, 2024
1 parent ee24d9f commit b82d77e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/Main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ jobs:
- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: Verify database migration
run: chmod +x ./scripts/sqldelight/verifyDatabaseMigration && ./scripts/sqldelight/verifyDatabaseMigration

- name: Build with Gradle
env:
MONSTER_COMPENDIUM_KEYSTORE_PASSWORD: ${{ secrets.MONSTER_COMPENDIUM_KEYSTORE_PASSWORD }}
run: ./gradlew jvmTest testReleaseUnitTest assembleRelease bundleRelease :app:packageDmg

- name: Verify database migration
run: chmod +x ./scripts/sqldelight/verifyDatabaseMigration && ./scripts/sqldelight/verifyDatabaseMigration

- name: Upload the test report
if: failure()
uses: actions/[email protected]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ fun MonsterCoilImage(
shape: Shape = RectangleShape,
modifier: Modifier = Modifier,
backgroundColor: String,
contentScale: ContentScale = ContentScale.Fit,
contentScale: ContentScale = ContentScale.Crop,
graphicsLayerBlock: GraphicsLayerScope.() -> Unit = {},
) = MonsterCoilImage(
imageUrl = imageUrl,
Expand All @@ -53,7 +53,7 @@ fun MonsterCoilImage(
shape: Shape = RectangleShape,
modifier: Modifier = Modifier,
backgroundColor: Color? = null,
contentScale: ContentScale = ContentScale.Fit,
contentScale: ContentScale = ContentScale.Crop,
graphicsLayerBlock: GraphicsLayerScope.() -> Unit = {},
) {
CoilImage(
Expand Down

0 comments on commit b82d77e

Please sign in to comment.