chore: remove unused Item.CycleState

This commit is contained in:
Taybin Rutkin 2026-07-21 17:57:48 -04:00
parent 5d8e64f8a1
commit c39c24cbfd
No known key found for this signature in database
GPG key ID: 605FA2C570B6AC9E

View file

@ -41,22 +41,6 @@ func (item *Item) ToggleFold() {
item.Folded = !item.Folded item.Folded = !item.Folded
} }
// CycleState cycles through todo states
func (item *Item) CycleState() {
switch item.State {
case StateNone:
item.State = StateTODO
case StateTODO:
item.State = StatePROG
case StatePROG:
item.State = StateBLOCK
case StateBLOCK:
item.State = StateDONE
case StateDONE:
item.State = StateNone
}
}
// ClockIn starts a new clock entry // ClockIn starts a new clock entry
func (item *Item) ClockIn() bool { func (item *Item) ClockIn() bool {
// Check if already clocked in // Check if already clocked in