diff --git a/.github/workflows/Main.yml b/.github/workflows/Main.yml index 37ede0ca..022193ca 100644 --- a/.github/workflows/Main.yml +++ b/.github/workflows/Main.yml @@ -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/upload-artifact@v3.1.1 diff --git a/ui/core/src/commonMain/kotlin/br/alexandregpereira/hunter/ui/compose/MonsterCoilImage.kt b/ui/core/src/commonMain/kotlin/br/alexandregpereira/hunter/ui/compose/MonsterCoilImage.kt index 9bf41e3a..54dea9d0 100644 --- a/ui/core/src/commonMain/kotlin/br/alexandregpereira/hunter/ui/compose/MonsterCoilImage.kt +++ b/ui/core/src/commonMain/kotlin/br/alexandregpereira/hunter/ui/compose/MonsterCoilImage.kt @@ -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, @@ -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(