Skip to content

Habits show positive/negative even if either of those are disabled #35

@imrehg

Description

@imrehg

Habits can have either positive or negative toggles disabled, and in the Habitica interface it shows with only the relevant button pressable.

Screenshot_2023-01-24_10-35-38

Showing up as:

Screenshot_2023-01-24_10-42-19

This plugin, however shows both options for every habit.

Screenshot_2023-01-24_10-39-59

The correct behaviour should be likely to show ownly the relevant button and allowing only that to be pressed.

(I'm happy to send in a PR if that's preferred/acceptable, just have to dive in the code)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions