aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-07-06 23:24:58 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-07-06 23:24:58 +0530
commit9a4a3696c7d5d51a796e2960d31f9ff7f2c1205d (patch)
tree786f63cb2592304340988ad869e9ce11ed7a4dae
parent83a39dbebed42b9bd779d86b4fcf30a0f5348d87 (diff)
removed useless seperator in table
-rw-r--r--ui/list.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/ui/list.go b/ui/list.go
index f1eb10e..95fc2cd 100644
--- a/ui/list.go
+++ b/ui/list.go
@@ -46,10 +46,9 @@ func AnimeList(animes []a.Anime) {
t.AppendRow([]interface{}{
index + 1, anime.Title, anime.Id, formattedScore, formattedMediaType, formattedStatus, progress,
- })
+ })
}
- t.AppendSeparator()
t.AppendFooter(table.Row{len(animes), "", "", ""})
t.Render()
}
@@ -75,10 +74,9 @@ func MangaList(mangas []m.Manga) {
t.AppendRow([]interface{}{
index + 1, manga.Title, manga.Id, formattedScore, formattedMediaType, formattedStatus, chapterProgress, volumeProgress,
- })
+ })
}
- t.AppendSeparator()
t.AppendFooter(table.Row{len(mangas), "", "", ""})
t.Render()
}