Skip to content

Commit

Permalink
update gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
klokidis committed May 7, 2024
1 parent 7b7df97 commit 9b652b7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
6 changes: 3 additions & 3 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ android {

dependencies {

implementation("androidx.core:core-ktx:1.13.0")
implementation("androidx.core:core-ktx:1.13.1")
implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.7.0")
implementation("androidx.activity:activity-compose:1.9.0")
implementation(platform("androidx.compose:compose-bom:2024.04.01"))
implementation(platform("androidx.compose:compose-bom:2024.05.00"))
implementation("androidx.compose.ui:ui")
implementation("androidx.compose.ui:ui-graphics")
implementation("androidx.compose.ui:ui-tooling-preview")
Expand All @@ -65,7 +65,7 @@ dependencies {
testImplementation("junit:junit:4.13.2")
androidTestImplementation("androidx.test.ext:junit:1.1.5")
androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1")
androidTestImplementation(platform("androidx.compose:compose-bom:2024.04.01"))
androidTestImplementation( platform("androidx.compose:compose-bom:2024.05.00"))
androidTestImplementation("androidx.compose.ui:ui-test-junit4")

debugImplementation("androidx.compose.ui:ui-tooling")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.layout.width
import androidx.compose.foundation.lazy.grid.GridCells
import androidx.compose.foundation.lazy.grid.LazyVerticalGrid
import androidx.compose.foundation.lazy.grid.items
Expand Down Expand Up @@ -68,7 +67,7 @@ fun ChooseCharacter(
modifier = Modifier
.fillMaxWidth()
.fillMaxHeight(),
contentAlignment = Alignment.BottomCenter
contentAlignment = Alignment.BottomEnd
) {
Image(
painter = painterResource(
Expand All @@ -78,8 +77,7 @@ fun ChooseCharacter(
null,
modifier = Modifier
.fillMaxHeight()
.padding(start = 50.dp, bottom = 10.dp,top = 10.dp)
.width(150.dp),
.padding(bottom = 10.dp,top = 10.dp, end = 5.dp),
contentScale = ContentScale.Fit
)
Box(
Expand All @@ -89,7 +87,7 @@ fun ChooseCharacter(
contentAlignment = Alignment.BottomStart
) {
Text(
text = stringResource(id = thisCharacter.stringResourceId),
text = stringResource(thisCharacter.stringResourceId),
style = MaterialTheme.typography.titleLarge.copy(
fontSize = 30.sp,
color = Color.Black,
Expand Down

0 comments on commit 9b652b7

Please sign in to comment.