ProjectDetailPane modified as a Component (type)

This commit is contained in:
Anis Ahmad
2020-06-12 18:50:41 +06:00
parent 46cc0bfd18
commit 20cbdb4f8d
6 changed files with 46 additions and 30 deletions

View File

@@ -28,8 +28,6 @@ type TaskDetailPane struct {
const dateLayoutISO = "2006-01-02"
const dateLayoutHuman = "02 Jan, Monday"
var blankCell = tview.NewTextView()
func NewTaskDetailPane(taskRepo repository.TaskRepository) *TaskDetailPane {
pane := TaskDetailPane{
Flex: tview.NewFlex().SetDirection(tview.FlexRow),