Skip to content

Commit

Permalink
fix favourite colors showing as not favourite in dark theme
Browse files Browse the repository at this point in the history
  • Loading branch information
Razeeman committed Nov 17, 2024
1 parent b1882bd commit ff1d9c9
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ class ColorViewDataInteractor @Inject constructor(
colorId = favouriteColor.id,
type = ColorViewData.Type.Favourite,
colorInt = favouriteColor.colorInt.toIntOrNull()
?.let { if (isDarkTheme) colorMapper.darkenColor(it) else it }
?: colorMapper.toInactiveColor(isDarkTheme),
selected = false,
)
Expand Down

0 comments on commit ff1d9c9

Please sign in to comment.