stuff
This commit is contained in:
parent
db8e66666c
commit
074cb059eb
@ -1,7 +1,8 @@
|
||||
package main
|
||||
|
||||
import(
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
tea "github.com/charmbracelet/bubbletea"
|
||||
)
|
||||
|
||||
@ -70,7 +71,7 @@ func (m model) View() string {
|
||||
switch m.tab {
|
||||
case 0:
|
||||
s += "Inbox"
|
||||
inboxFilter := func(t todo) bool { return t.isInbox}
|
||||
inboxFilter := func(t todo) bool { return t.isInbox }
|
||||
currentList = filter(m.todos, inboxFilter)
|
||||
case 1:
|
||||
s += "Today"
|
||||
@ -84,7 +85,6 @@ func (m model) View() string {
|
||||
|
||||
s += "\n\n"
|
||||
|
||||
|
||||
// Iterate over our choices
|
||||
for i, choice := range currentList {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user