From 7e512b17f64b85390e189754081fb9a7994cd083 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Sat, 2 Jul 2022 17:04:29 +0530 Subject: added score option to action menu --- cmd/score.go | 4 ++-- cmd/version.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'cmd') diff --git a/cmd/score.go b/cmd/score.go index 27106e5..33c02c3 100644 --- a/cmd/score.go +++ b/cmd/score.go @@ -97,7 +97,7 @@ func setAnimeScore(scoreInput, searchInput string) { } if scoreInput == "" { - ui.ScoreInput(anime.Id, selectedAnime.MyListStatus.Score, anime.Title, false) + ui.AnimeScoreInput(selectedAnime) } else { score, err := validateScore(scoreInput, selectedAnime.MyListStatus.Score) if err != nil { @@ -130,7 +130,7 @@ func setMangaScore(scoreInput, searchInput string) { } if scoreInput == "" { - ui.ScoreInput(manga.Id, selectedManga.MyListStatus.Score, manga.Title, true) + ui.MangaScoreInput(selectedManga) } else { score, err := validateScore(scoreInput, selectedManga.MyListStatus.Score) if err != nil { diff --git a/cmd/version.go b/cmd/version.go index 174b7e3..c89866b 100644 --- a/cmd/version.go +++ b/cmd/version.go @@ -24,7 +24,7 @@ import ( "github.com/spf13/cobra" ) -var version string = "v1.5.3" +var version string = "v1.5.4" var versionCmd = &cobra.Command { Use: "version", -- cgit v1.2.3