Skip to content

Commit ff1d9c9

Browse files
committed
fix favourite colors showing as not favourite in dark theme
1 parent b1882bd commit ff1d9c9

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

core/src/main/java/com/example/util/simpletimetracker/core/interactor/ColorViewDataInteractor.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ class ColorViewDataInteractor @Inject constructor(
8080
colorId = favouriteColor.id,
8181
type = ColorViewData.Type.Favourite,
8282
colorInt = favouriteColor.colorInt.toIntOrNull()
83-
?.let { if (isDarkTheme) colorMapper.darkenColor(it) else it }
8483
?: colorMapper.toInactiveColor(isDarkTheme),
8584
selected = false,
8685
)

0 commit comments

Comments
 (0)