Skip to content

Commit

Permalink
fix: change deprecated arrowBack as per review
Browse files Browse the repository at this point in the history
  • Loading branch information
Mai-LinhC committed Apr 8, 2024
1 parent a3b1e68 commit d78e9d0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.automirrored.filled.ArrowBack
import androidx.compose.material.icons.filled.Add
import androidx.compose.material.icons.filled.ArrowBack
import androidx.compose.material.icons.filled.Edit
import androidx.compose.material.icons.filled.Person
import androidx.compose.material3.Button
Expand Down Expand Up @@ -55,7 +55,7 @@ fun CreateAssoScreen(viewmodel: CreateAssoViewmodel = CreateAssoViewmodel(listOf
modifier = Modifier.fillMaxWidth().testTag("TopAppBar"),
navigationIcon = {
IconButton(onClick = { /*TODO : go back to previous screen*/}) {
Icon(Icons.Default.ArrowBack, contentDescription = "Back")
Icon(Icons.AutoMirrored.Filled.ArrowBack, contentDescription = "Back")
}
},
title = { Text(text = "Create your association") })
Expand Down

0 comments on commit d78e9d0

Please sign in to comment.