[go: up one dir, main page]

Skip to content

Commit

Permalink
Merge branch 'main' of github.com:hamedgramzi/MaterialDrawer into dev…
Browse files Browse the repository at this point in the history
…elop

# Conflicts:
#	app/build.gradle
  • Loading branch information
mikepenz committed Jun 24, 2022
2 parents de8bfb9 + ad13991 commit d84db5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ dependencies {
implementation "androidx.swiperefreshlayout:swiperefreshlayout:${versions.swiperefreshLayout}"

// used to showcase how to load images
implementation('io.coil-kt:coil:2.1.0')
implementation("io.coil-kt:coil:2.1.0")

// the sample uses more advanced functions of the fastadapter
// https://github.com/mikepenz/FastAdapter/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ open class MiniDrawerItem : BaseDrawerItem<MiniDrawerItem, MiniDrawerItem.ViewHo

if (enableSelectedBackground) {
//get the correct color for the background
val selectedColor = getSelectedColor(ctx)
val selectedColor = selectedColor?.color(ctx) ?: getSelectedColor(ctx)
//set the background for the item
themeDrawerItem(ctx, holder.view, selectedColor, isSelectedBackgroundAnimated, shapeAppearanceModel, isSelected = isSelected)
}
Expand Down

0 comments on commit d84db5b

Please sign in to comment.