Added Streaks info for numeric habits
This commit is contained in:
parent
13ecc2a386
commit
4a7d7ef490
@ -52,7 +52,9 @@ class ShowHabitView(context: Context) : FrameLayout(context) {
|
||||
binding.frequencyCard.setState(data.frequency)
|
||||
binding.historyCard.setState(data.history)
|
||||
binding.barCard.setState(data.bar)
|
||||
if (!data.isNumerical) {
|
||||
if (data.isNumerical) {
|
||||
binding.overviewCard.visibility = GONE
|
||||
} else {
|
||||
binding.targetCard.visibility = GONE
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user