Skip to content

Commit

Permalink
change icons for show/hide in settings
Browse files Browse the repository at this point in the history
  • Loading branch information
iakanoe committed Nov 2, 2023
1 parent ec59504 commit fd0d2c6
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 4 deletions.
32 changes: 32 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.ArrowBack
import androidx.compose.material.icons.filled.Delete
import androidx.compose.material.icons.filled.Done
import androidx.compose.material.icons.filled.Favorite
import androidx.compose.material.icons.filled.FavoriteBorder
import androidx.compose.material.icons.filled.KeyboardArrowDown
import androidx.compose.material.icons.filled.KeyboardArrowUp
import androidx.compose.material.icons.filled.Star
import androidx.compose.material3.CircularProgressIndicator
import androidx.compose.material3.Icon
import androidx.compose.material3.IconButton
Expand Down Expand Up @@ -204,14 +204,14 @@ fun Item(
if (isHidden) {
IconButton(onClick = onShow) {
Icon(
imageVector = Icons.Filled.Star,
imageVector = Icons.Filled.FavoriteBorder,
contentDescription = "show button"
)
}
} else {
IconButton(onClick = onHide) {
Icon(
imageVector = Icons.Filled.Delete,
imageVector = Icons.Filled.Favorite,
contentDescription = "hide button"
)
}
Expand Down

0 comments on commit fd0d2c6

Please sign in to comment.