Skip to content

Commit

Permalink
fix: Empty stats icon color
Browse files Browse the repository at this point in the history
  • Loading branch information
JorisBodin committed Jan 3, 2025
1 parent eacd4d9 commit edeac9a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
package com.infomaniak.drive.views

import android.content.Context
import android.content.res.ColorStateList
import android.util.AttributeSet
import android.view.LayoutInflater
import android.view.View
Expand Down Expand Up @@ -62,6 +63,7 @@ class NoItemsLayoutView @JvmOverloads constructor(
}
} else {
noItemsIconLayout.icon.setImageResource(iNoItemsLayoutView.noItemsIcon)
noItemsIconLayout.icon.imageTintList = ColorStateList.valueOf(ContextCompat.getColor(context, R.color.iconColor))
noItemsTitle.setText(iNoItemsLayoutView.noItemsTitle)
noItemsRefreshButton.isGone = true
}
Expand Down

0 comments on commit edeac9a

Please sign in to comment.