From 9a4a3696c7d5d51a796e2960d31f9ff7f2c1205d Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Wed, 6 Jul 2022 23:24:58 +0530 Subject: removed useless seperator in table --- ui/list.go | 6 ++---- 1 file 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() } -- cgit v1.2.3